mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
The jack code is perhaps a bit large for being in the interrupt code directly. Improve the encapsulation by factoring out the jack handling code into a new c file, as is already done for HID and FDL. Whilst doing so also add a jack_state structure to hold the jack state for improved expandability in the future. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20251215153650.3913117-2-ckeepax@opensource.cirrus.com Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
16 lines
609 B
Makefile
16 lines
609 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
snd-soc-sdca-y := sdca_functions.o sdca_device.o sdca_function_device.o \
|
|
sdca_regmap.o sdca_asoc.o sdca_ump.o
|
|
snd-soc-sdca-$(CONFIG_SND_SOC_SDCA_HID) += sdca_hid.o
|
|
snd-soc-sdca-$(CONFIG_SND_SOC_SDCA_IRQ) += sdca_interrupts.o sdca_jack.o
|
|
snd-soc-sdca-$(CONFIG_SND_SOC_SDCA_FDL) += sdca_fdl.o
|
|
|
|
snd-soc-sdca-class-y := sdca_class.o
|
|
snd-soc-sdca-class-function-y := sdca_class_function.o
|
|
|
|
obj-$(CONFIG_SND_SOC_SDCA) += snd-soc-sdca.o
|
|
|
|
obj-$(CONFIG_SND_SOC_SDCA_CLASS) += snd-soc-sdca-class.o
|
|
obj-$(CONFIG_SND_SOC_SDCA_CLASS_FUNCTION) += snd-soc-sdca-class-function.o
|