diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 09:31:28 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2020-10-13 04:10:34 +0200 |
commit | 558e4c36ec9f2722af4fe8ef84dc812bcdb5c43a (patch) | |
tree | a4c90680ab1344f8f50125d09bc3c10b6fff424a /Documentation/power/suspend-and-cpuhotplug.rst | |
parent | mailbox: arm_mhu: Add ARM MHU doorbell driver (diff) | |
download | linux-558e4c36ec9f2722af4fe8ef84dc812bcdb5c43a.tar.xz linux-558e4c36ec9f2722af4fe8ef84dc812bcdb5c43a.zip |
maiblox: mediatek: Fix handling of platform_get_irq() error
platform_get_irq() returns -ERRNO on error. In such case casting to u32
and comparing to 0 would pass the check.
Fixes: 623a6143a845 ("mailbox: mediatek: Add Mediatek CMDQ driver")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'Documentation/power/suspend-and-cpuhotplug.rst')
0 files changed, 0 insertions, 0 deletions