ASoC: Intel: fix machine driver warnings
authorFang, Yang A <yang.a.fang@intel.com>
Mon, 9 Feb 2015 08:18:12 +0000 (00:18 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 23 Feb 2015 15:43:19 +0000 (00:43 +0900)
commit369a9f5f397fe3258ab937ec7a9c2229d0b1a015
tree63df1de61c0a510aa0e4354b955359bb09f92069
parent052a9f698268e606ca01eb1ce2a672e548f2ce11
ASoC: Intel: fix machine driver warnings

this patch will fix below sparse warnings

warning: incorrect type in argument 2 (different base types) expected
unsigned int [unsigned] val got restricted snd_pcm_format_t [usertype]
<noident>

sound/soc/intel/haswell.c:61:37
sound/soc/intel/broadwell.c:115:37:
sound/soc/intel/bytcr_dpcm_rt5640.c:118:37:
sound/soc/intel/cht_bsw_rt5672.c:183:37:
sound/soc/intel/cht_bsw_rt5645.c:208:37:

Signed-off-by: Fang, Yang A <yang.a.fang@intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/broadwell.c
sound/soc/intel/bytcr_dpcm_rt5640.c
sound/soc/intel/cht_bsw_rt5645.c
sound/soc/intel/cht_bsw_rt5672.c
sound/soc/intel/haswell.c