summaryrefslogtreecommitdiffstats
path: root/lib/crc32.c
diff options
context:
space:
mode:
authorRajan Vaja <rajan.vaja@xilinx.com>2019-03-01 01:37:08 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-01 18:07:34 +0100
commitf694936c3b5a4c140ded5b673555d95aedc866b9 (patch)
tree45fb37a475a644d5679b04ad440657058d1995d4 /lib/crc32.c
parent5b9cea15a3de5d65000d49f626b71b00d42a0577 (diff)
downloadlinux-f694936c3b5a4c140ded5b673555d95aedc866b9.tar.bz2
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 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions