diff options
author | 2018-12-04 04:51:22 -0800 | |
---|---|---|
committer | 2018-12-05 11:02:38 +0100 | |
commit | eca42d4cf3c591c36312c52707e0a712e0c7256a (patch) | |
tree | 665bb9899f868b34e13cda6e63626f058dd30100 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: serial: qcom_geni_serial: Fix softlock (diff) | |
download | wireguard-linux-eca42d4cf3c591c36312c52707e0a712e0c7256a.tar.xz wireguard-linux-eca42d4cf3c591c36312c52707e0a712e0c7256a.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions