Rajan Vaja f694936c3b tty: xilinx_uartps: Correct return value in probe
Existing driver checks for alternate clock if devm_clk_get() fails
and returns error code for last clock failure. If xilinx_uartps is
called before clock driver, devm_clk_get() returns -EPROBE_DEFER.
In this case, probe should not check for alternate clock as main
clock is already present in DTS and return -EPROBE_DEFER only.

This patch fixes it by not checking for alternate clock when main
clock get returns -EPROBE_DEFER.

Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-01 18:07:34 +01:00
..
2017-11-15 11:36:08 -08:00
2019-01-30 09:31:31 +01:00
2017-11-21 15:57:07 -08:00
2019-01-28 08:22:00 +01:00
2019-02-11 09:26:45 +01:00
2018-06-12 16:19:22 -07:00
2018-12-28 20:33:54 -08:00