ASoC: codecs: wsa883x: Shutdown on error path
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 9 Nov 2022 16:37:58 +0000 (17:37 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 16 Nov 2022 16:25:52 +0000 (16:25 +0000)
commit8e022387444bc5039a271fbf5a778551c4a1926b
tree73d72cb38bd155c44369610256ae8534252b1a89
parent7d95977533e14738e8193c14a7efac369288aeee
ASoC: codecs: wsa883x: Shutdown on error path

If probe fails, toggle shutdown via GPIO to save power and reverse
probe actions.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221109163759.1158837-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wsa883x.c