Files
linux/drivers
Masahiro Yamada 970aeba3f3 serial: 8250_of: fix return code when probe function fails to get reset
commit b9820a3169 upstream.

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: e2860e1f62 ("serial: 8250_of: Add reset support")
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>
2018-02-03 17:58:41 +01:00
..
2017-11-13 01:34:14 +01:00
2018-01-09 14:19:41 +01:00
2017-12-18 13:55:43 -07:00
2017-12-14 21:01:40 +02:00