diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-02-24 10:54:44 +0800 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2022-03-04 09:07:42 +0100 |
commit | fd7bd80b46373887b390852f490f21b07e209498 (patch) | |
tree | d0678e0f5afe1ad47774d469767c250ae8ef1c60 /lib/mpi/mpi-bit.c | |
parent | a06bf59d07f45a0a6ab4ab8ac69c1d708d3fadcb (diff) |
memory: emif: Add check for setup_interrupts
As the potential failure of the devm_request_threaded_irq(),
it should be better to check the return value of the
setup_interrupts() and return error if fails.
Fixes: 68b4aee35d1f ("memory: emif: add interrupt and temperature handling")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220224025444.3256530-1-jiasheng@iscas.ac.cn
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions