diff options
| author | Erwan Le Ray <erwan.leray@st.com> | 2019-05-21 17:45:47 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-24 09:58:29 +0200 |
| commit | 2c58e56096dd011ea43f29a032d19b0e76fe2570 (patch) | |
| tree | e9db1a2ddad8c056de380dd6f21d671770ea2555 /tools/perf/scripts/python | |
| parent | serial: stm32: fix wakeup source initialization (diff) | |
| download | linux-2c58e56096dd011ea43f29a032d19b0e76fe2570.tar.gz linux-2c58e56096dd011ea43f29a032d19b0e76fe2570.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
