]> www.infradead.org Git - users/willy/linux.git/commit
ASoC: codecs: wcd937x: Remove separate handling for vdd-buck supply
authorMohammad Rafi Shaik <quic_mohs@quicinc.com>
Thu, 4 Jul 2024 08:17:23 +0000 (13:47 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jul 2024 13:44:25 +0000 (14:44 +0100)
commit216d04139a6d0ecaea9432178225b29d367da886
treeeaba8166da6b0de216e1e253614c5444d9e39b57
parenta5f727f423101efd60a27bccd7680df429cef38a
ASoC: codecs: wcd937x: Remove separate handling for vdd-buck supply

Remove separate handling for vdd-buck regulator supply which is not
required. The vdd-buck regulator supply enabled using bulk enable.

Add the error handling in wcd937x_probe() and disable the regulators in
error case.

Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Closes: https://lore.kernel.org/linux-sound/834d31cc-f4bc-4db7-a25b-f9869e550eb6@wanadoo.fr/
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Link: https://patch.msgid.link/20240704081723.3394153-4-quic_mohs@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd937x.c
sound/soc/codecs/wcd937x.h