]> git.openpandora.org Git - pandora-kernel.git/commitdiff
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)
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>

No differences found