Home
last modified time | relevance | path

Searched hist:"130 eb72d3cb38a629205a2a192800b4b1b9bc5c9" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-afe-pcm.cdiff 130eb72d3cb38a629205a2a192800b4b1b9bc5c9 Sun Sep 08 15:46:04 CEST 2024 Tang Bin <tangbin@cmss.chinamobile.com> ASoC: codecs: fix the right check and simplify code

In the file drivers/base/platform.c, the return description of
platform_get_irq is 'non-zero IRQ number on success, negative
error number on failure.', so the check is wrong, fix it. And
when get irq failed, the function platform_get_irq logs an error
message.

Fixes: 5e2404493f9f ("ASoC: codecs: add MT6357 support")
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240908134604.3652-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>