Skip to content

Commit cfb385a

Browse files
Srinivas Kandagatlabroonie
authored andcommitted
ASoC: codecs: wcd934x: fix typo in dt parsing
Looks like we ended up with a typo during device tree data parsing as part of 4f16b63 ("ASoC: codecs: wcd: add common helper for wcd codecs") patch. This will result in not parsing the device tree data and results in zero mic bias values. Fix this by calling wcd_dt_parse_micbias_info instead of wcd_dt_parse_mbhc_data. Fixes: 4f16b63 ("ASoC: codecs: wcd: add common helper for wcd codecs") Cc: Stable@vger.kernel.org Reported-by: Joel Selvaraj <foss@joelselvaraj.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/20260323231748.2217967-1-srinivas.kandagatla@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 91049ec commit cfb385a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/codecs/wcd934x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@ static int wcd934x_init_dmic(struct snd_soc_component *comp)
21722172
u32 def_dmic_rate, dmic_clk_drv;
21732173
int ret;
21742174

2175-
ret = wcd_dt_parse_mbhc_data(comp->dev, &wcd->mbhc_cfg);
2175+
ret = wcd_dt_parse_micbias_info(&wcd->common);
21762176
if (ret)
21772177
return ret;
21782178

0 commit comments

Comments
 (0)