commit | 68a1c8485cf83734d4da9d81cd3b5d2ae7c0339b | [log] [tgz] |
---|---|---|
author | Fabien Dessenne <fabien.dessenne@st.com> | Wed Apr 24 17:51:05 2019 +0200 |
committer | Jassi Brar <jaswinder.singh@linaro.org> | Thu May 09 00:41:00 2019 -0500 |
tree | f2088f309e535a68f5040fc952b8411aaa366659 | |
parent | 0c40e631cd7f1dd762869bc91550ab20381d87bf [diff] |
mailbox: stm32-ipcc: check invalid irq On failure of_irq_get() returns a negative value or zero, which is not handled as an error in the existing implementation. Instead of using this API, use platform_get_irq() that returns exclusively a negative value on failure. Also, do not output an error log in case of defer probe error. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>