summaryrefslogtreecommitdiff
path: root/sound/soc/sdca/sdca_device.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2025-02-05 11:37:52 +0000
committerMark Brown <broonie@kernel.org>2025-02-07 17:34:00 +0000
commit629dd55cf77bd3a8f80049150d3c05fef6d3b468 (patch)
treeed39b839fca5c0eadcf208e9b689e3747e7db400 /sound/soc/sdca/sdca_device.c
parentf98d42000216677d177384f202ff1cc896a7395f (diff)
ASoC: SDCA: Minor formatting and naming tweaks
Fix up some variable/struct member naming, add some missing kerneldoc and fix some minor formatting/whitespace issues. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev> Link: https://patch.msgid.link/20250205113801.3699902-2-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sdca/sdca_device.c')
-rw-r--r--sound/soc/sdca/sdca_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sdca/sdca_device.c b/sound/soc/sdca/sdca_device.c
index b6399b773986..0244cdcdd109 100644
--- a/sound/soc/sdca/sdca_device.c
+++ b/sound/soc/sdca/sdca_device.c
@@ -48,8 +48,7 @@ static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave)
return false;
for (i = 0; i < slave->sdca_data.num_functions; i++) {
- if (slave->sdca_data.sdca_func[i].type ==
- SDCA_FUNCTION_TYPE_SMART_MIC)
+ if (slave->sdca_data.function[i].type == SDCA_FUNCTION_TYPE_SMART_MIC)
return true;
}