Re: [PATCH] ASoC: codecs: es8326: Fix DTS properties reading

From: Yang Yingliang
Date: Mon Feb 06 2023 - 03:44:25 EST


Hi,

On 2023/2/5 3:51, Alexey Firago wrote:
Seems like properties parsing and reading was copy-pasted,
so "everest,interrupt-src" and "everest,interrupt-clk" are saved into
the es8326->jack_pol variable. This might lead to wrong settings
being saved into the reg 57 (ES8326_HP_DET).

Fix this by using proper variables while reading properties.

Signed-off-by: Alexey Firago <a.firago@xxxxxxxxx>

Fix tag is needed, it should be 5c439937775d ("ASoC: codecs: add support for ES8326")

Reviewed-by: Yang Yingliang <yangyingliang@xxxxxxxxxx