linux/sound/soc/sunxi
Ondrej Jirman 559aebe45a
ASoC: sun8i-codec: Fix build with CONFIG_SND_JACK_INPUT_DEV disabled
When CONFIG_SND_JACK_INPUT_DEV is disabled, struct snd_jack doesn't
have 'type' field. We can't rely on this field being always present,
so store the jack_type in the codec driver itself.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403261243.kcXCPAYs-lkp@intel.com/
Link: https://msgid.link/r/20240327080542.3649840-1-megi@xff.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-03-27 15:57:34 +00:00
..
Kconfig ASoC: sunxi: Add Allwinner H6 Digital MIC driver 2022-09-19 17:52:47 +01:00
Makefile ASoC: sunxi: Add Allwinner H6 Digital MIC driver 2022-09-19 17:52:47 +01:00
sun4i-codec.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
sun4i-i2s.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
sun4i-spdif.c ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 2024-01-29 16:55:18 +00:00
sun8i-adda-pr-regmap.c ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-adda-pr-regmap.h ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-codec-analog.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
sun8i-codec.c ASoC: sun8i-codec: Fix build with CONFIG_SND_JACK_INPUT_DEV disabled 2024-03-27 15:57:34 +00:00
sun50i-codec-analog.c ASoC: sun8i-codec: Implement jack and accessory detection 2024-03-25 00:32:32 +00:00
sun50i-dmic.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00