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.
This commit is contained in:
Mark Brown 2023-10-09 18:40:01 +01:00
commit e182212185
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 83 additions and 20 deletions