]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SDCA: Pass SoundWire slave to HID
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 20 Oct 2025 15:54:57 +0000 (16:54 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 15:31:14 +0000 (15:31 +0000)
commit7159816707dc7040fe3ac4fa3d7ac3d173bd772a
tree36c2f94d6db24830bffca98397bffba239bb3e4b
parent907364ea3db47530751add6d2d62122ca17329cb
ASoC: SDCA: Pass SoundWire slave to HID

The SDCA HID code can't assume that the struct device it is passed is
the SoundWire slave device. HID is represented by a Function in SDCA and
will thus likely be implemented by a child driver. Update the code to
explicitly pass in the SoundWire slave device.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20251020155512.353774-5-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca_function.h
include/sound/sdca_hid.h
sound/soc/sdca/sdca_functions.c
sound/soc/sdca/sdca_hid.c