ASoC: wm8903: Fix the error handling of wm8903_i2c_probe()
authorZheyu Ma <zheyuma97@gmail.com>
Tue, 10 May 2022 15:32:51 +0000 (23:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 May 2022 16:40:17 +0000 (17:40 +0100)
commit83d1b65d4cbe6fb0bbdacc18c1f4ad0450275d8f
treed0abf372a543ca9afbed190d8e4220f00dca52df
parent68cacb5cf5cf04aaa95be1fd76eff728dfddc613
ASoC: wm8903: Fix the error handling of wm8903_i2c_probe()

The driver should goto label 'err' when failing to request the irq.

Signed-off-by: Zheyu Ma <zheyuma97@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220510153251.1741210-7-zheyuma97@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8903.c