ASoC: mediatek: mt8173: Fix irq error path
authorRicardo Ribalda Delgado <ribalda@chromium.org>
Mon, 12 Jun 2023 09:05:32 +0000 (11:05 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Jun 2023 13:47:46 +0000 (14:47 +0100)
commitf9c058d14f4fe23ef523a7ff73734d51c151683c
tree441163ccf7cb9b2045953c3fbcb1e9e194f59535
parenta46d37012a5be1737393b8f82fd35665e4556eee
ASoC: mediatek: mt8173: Fix irq error path

After reordering the irq probe, the error path was not properly done.
Lets fix it.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Cc: stable@kernel.org
Fixes: 4cbb264d4e91 ("ASoC: mediatek: mt8173: Enable IRQ when pdata is ready")
Signed-off-by: Ricardo Ribalda Delgado <ribalda@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230612-mt8173-fixup-v2-2-432aa99ce24d@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c