diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 09:31:28 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2020-10-12 21:10:34 -0500 |
commit | 558e4c36ec9f2722af4fe8ef84dc812bcdb5c43a (patch) | |
tree | a4c90680ab1344f8f50125d09bc3c10b6fff424a /include | |
parent | 7002ca237b216d651d032439c45dc664f1f955bb (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions