Searched hist:"2 c58e56096dd011ea43f29a032d19b0e76fe2570" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | stm32-usart.c | diff 2c58e56096dd011ea43f29a032d19b0e76fe2570 Tue May 21 10:45:47 CDT 2019 Erwan Le Ray <erwan.leray@st.com> serial: stm32: fix the get_irq error case
Checks the returned values of platform_get_irq() for both required "event" and optional "wakeup" IRQs during probe. This allows the driver probe to be deferred if needed. Removes redundant checks for 'cfg.has_wakeup'.
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|