linux/sound/soc/intel
Takashi Iwai b5453e8ca3
ASoC: intel: Fix snd_pcm_format_t handling
As sparse warns, the PCM format type can't be dealt as integer as
found in Intel SST driver codes.

Fix them in the following two ways:

- The open code with snd_mask_set() and params->masks reference is
  replaced with params_set_format()

- The rest codes with snd_mask_set(fmt, SNDRV_PCM_FORMAT_XXX) are
  replaced with the new helper, snd_mask_set_format().

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-07-26 17:09:06 +01:00
..
atom ASoC: Intel: Atom: fix inversion between __iowrite32 and __ioread32 2018-07-25 17:21:22 +01:00
baytrail ASoC: intel: baytrail: replace platform to component 2018-02-12 11:45:10 +00:00
boards ASoC: intel: Fix snd_pcm_format_t handling 2018-07-26 17:09:06 +01:00
common ASoC: Intel: common: make sst_dma functions static 2018-07-25 17:21:15 +01:00
haswell ASoC: Intel: Haswell: fix endianness handling 2018-07-25 17:21:07 +01:00
skylake ASoC: Intel: Skylake: fix widget handling 2018-07-25 17:30:30 +01:00
Kconfig ASoC: Intel: Disable SND_SOC_INTEL_BAYTRAIL when SND_SST_ATOM_HIFI2_PLATFORM is enabled 2018-04-19 13:12:36 +01:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00