summaryrefslogtreecommitdiffstats
path: root/sound/soc/sdca/sdca_device.c
diff options
context:
space:
mode:
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;
}