2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/sound/soc/zte
Takashi Iwai c889a45d22
ASoC: zte: Fix incorrect PCM format bit usages
zx-tdm driver sets the DAI driver definitions with the format bits
wrongly set with SNDRV_PCM_FORMAT_*, instead of SNDRV_PCM_FMTBIT_*.

This patch corrects the definitions.

Spotted by a sparse warning:
  sound/soc/zte/zx-tdm.c:363:35: warning: restricted snd_pcm_format_t degrades to integer

Fixes: 870e0ddc43 ("ASoC: zx-tdm: add zte's tdm controller driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-07-26 15:48:19 +01:00
..
Kconfig ASoC: zx-tdm: add zte's tdm controller driver 2017-02-21 15:11:17 -08:00
Makefile ASoC: zx-tdm: add zte's tdm controller driver 2017-02-21 15:11:17 -08:00
zx-i2s.c ASoC: zte: remove duplicate includes 2018-05-17 15:46:22 +09:00
zx-spdif.c ASoC: zte: spdif: remove duplicate initialization of dma_data 2017-09-19 12:56:50 +01:00
zx-tdm.c ASoC: zte: Fix incorrect PCM format bit usages 2018-07-26 15:48:19 +01:00