diff options
author | 2017-12-27 14:21:05 +0900 | |
---|---|---|
committer | 2018-01-09 16:46:26 +0100 | |
commit | b9820a31691b771db37afe2054dd3d3a680c1eed (patch) | |
tree | adfb3e449d2f05d71a1358c5d48265f062c5431e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: imx: Only wakeup via RTSDEN bit if the system has RTS/CTS (diff) | |
download | wireguard-linux-b9820a31691b771db37afe2054dd3d3a680c1eed.tar.xz wireguard-linux-b9820a31691b771db37afe2054dd3d3a680c1eed.zip |
serial: 8250_of: fix return code when probe function fails to get reset
The error pointer from devm_reset_control_get_optional_shared() is
not propagated.
One of the most common problem scenarios is it returns -EPROBE_DEFER
when the reset controller has not probed yet. In this case, the
probe of the reset consumer should be deferred.
Fixes: e2860e1f62f2 ("serial: 8250_of: Add reset support")
Cc: stable@vger.kernel.org # v4.13+
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions