Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: sunxi: sun4i-i2s: Fix pcm_formats type specification

pcm_formats should be a u64 as it is a SNDRV_PCM_FMTBIT_* not a
SNDRV_PCM_FORMAT_*.

Also fix a small grammar error while we're here.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202404170103.ySYwieqi-lkp@intel.com/
Signed-off-by: John Watts <contact@jookia.org>
Link: https://lore.kernel.org/r/20240417-sunxi_s32_fix-v1-1-d82e451565c0@jookia.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

John Watts and committed by
Mark Brown
9be51470 9aea6d64

+2 -2
+2 -2
sound/soc/sunxi/sun4i-i2s.c
··· 156 156 /** 157 157 * struct sun4i_i2s_quirks - Differences between SoC variants. 158 158 * @has_reset: SoC needs reset deasserted. 159 - * @pcm_formats: available PCM formats 159 + * @pcm_formats: available PCM formats. 160 160 * @reg_offset_txdata: offset of the tx fifo. 161 161 * @sun4i_i2s_regmap: regmap config to use. 162 162 * @field_clkdiv_mclk_en: regmap field to enable mclk output. ··· 176 176 */ 177 177 struct sun4i_i2s_quirks { 178 178 bool has_reset; 179 - snd_pcm_format_t pcm_formats; 179 + u64 pcm_formats; 180 180 unsigned int reg_offset_txdata; /* TX FIFO */ 181 181 const struct regmap_config *sun4i_i2s_regmap; 182 182