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: 68b4aee3 ("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.cnSigned-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Showing
Please register or sign in to comment