aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/stm/stm32_i2s.c
diff options
context:
space:
mode:
authorTang Bin <[email protected]>2024-09-08 13:46:04 +0000
committerMark Brown <[email protected]>2024-09-09 17:26:47 +0000
commit130eb72d3cb38a629205a2a192800b4b1b9bc5c9 (patch)
tree7ead746b5d2ac572b47a16b0395b765a33187215 /sound/soc/stm/stm32_i2s.c
parentASoC: mediatek: mt8365: remove unused mt8365_i2s_hd_str (diff)
downloadkernel-130eb72d3cb38a629205a2a192800b4b1b9bc5c9.tar.gz
kernel-130eb72d3cb38a629205a2a192800b4b1b9bc5c9.zip
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/stm/stm32_i2s.c')
0 files changed, 0 insertions, 0 deletions