ASoC: codecs: wcd938x: fix probe and bind error
authorMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 17:40:01 +0000 (18:40 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 17:40:01 +0000 (18:40 +0100)
commite182212185bbda3440644f732f17a825fa4be456
treeb86c3626897f5f77d9639d885abd46a082f8c650
parentaa6464edbd51af4a2f8db43df866a7642b244b5f
parentc5c0383082eace13da2ffceeea154db2780165e7
ASoC: codecs: wcd938x: fix probe and bind error

Merge series from Johan Hovold <johan+linaro@kernel.org>:

The wcd938x codec driver happily ignores error handling, something which
has bitten us in the past when we hit a probe deferral:

https://lore.kernel.org/lkml/20230705123018.30903-1-johan+linaro@kernel.org/

Fix up the remaining probe and component bind paths that left resources
allocated and registered after errors to avoid similar future issues.