]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: Rename SoundWire struct device variables
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 20 Oct 2025 15:54:54 +0000 (16:54 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Oct 2025 15:31:11 +0000 (15:31 +0000)
commit715159314dfafee66e6deb50b4e3431539a919d8
tree19f7efcf4d7ae7fc2904a840dd31e727c9d3416d
parentc17fa4cbc546c431ccf13e9354d5d9c1cd247b7c
ASoC: SDCA: Rename SoundWire struct device variables

The SDCA core processes two different struct device's at various times,
usually it is processing the struct device associated with an individual
SDCA Function driver. However, there are times that it is processing the
struct device associated with the actual SoundWire peripheral, usually
the parent of the Function device.

To ensure this distinction remains clear in the code, rename the variable
when handling the actual SoundWire device to sdev.

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-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_functions.c
sound/soc/sdca/sdca_interrupts.c