ASoC: codecs: msm8916-wcd-analog: Properly handle probe errors
authorStephan Gerhold <stephan@gerhold.net>
Tue, 18 Jul 2023 11:40:17 +0000 (13:40 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 20 Jul 2023 12:50:54 +0000 (13:50 +0100)
commit5c0f9652da47061ed3f7815c1dfeb205c545ce54
tree9bfab4f86dc0f75cf391cd6f0ec74e8cb375b417
parent97f29c1a6143762626f4f9bd9fc2f8a2282b9dcd
ASoC: codecs: msm8916-wcd-analog: Properly handle probe errors

The probe() function fails with an error for platform_get_irq_byname()
but only logs when devm_request_threaded_irq() fails. Make this
consistent and fail to probe in that case as well. In practice this
should never happen unless something is really wrong.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20230718-pm8916-mclk-v1-5-4b4a58b4240a@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/msm8916-wcd-analog.c