]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
serial: xuartps: Fix the error handling logic in probe().
authorNava kishore Manne <nava.manne@xilinx.com>
Thu, 6 Apr 2017 07:59:28 +0000 (13:29 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 18 Apr 2017 11:22:31 +0000 (13:22 +0200)
commit0cd0559046f9ca158e454b5e8be75b93df0048d5
treef5a785377adbeb487136498fe88c87b7701be642
parent9b8bc4c9f87b988301be391b0e4e049bfa7d485d
serial: xuartps: Fix the error handling logic in probe().

This patch reorder the error handling checks in probe()
to handle the failure conditions properly.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Reviewed-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/tty/serial/xilinx_uartps.c