diff options
author | 2024-09-08 21:46:04 +0800 | |
---|---|---|
committer | 2024-09-09 18:26:47 +0100 | |
commit | 130eb72d3cb38a629205a2a192800b4b1b9bc5c9 (patch) | |
tree | 7ead746b5d2ac572b47a16b0395b765a33187215 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ASoC: mediatek: mt8365: remove unused mt8365_i2s_hd_str (diff) | |
download | wireguard-linux-130eb72d3cb38a629205a2a192800b4b1b9bc5c9.tar.xz wireguard-linux-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 <tangbin@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240908134604.3652-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions