OSDN Git Service

Revert "serial: uartps: Fix error path when alloc failed"
authorMichal Simek <michal.simek@xilinx.com>
Fri, 3 Apr 2020 09:24:32 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 14:00:48 +0000 (16:00 +0200)
commitb6fd2dbbd649b89a3998528994665ded1e3fbf7f
treeff45129deaf9c3e456d76a52e482704264ba397c
parent8da1a3940da4b0e82848ec29b835486890bc9232
Revert "serial: uartps: Fix error path when alloc failed"

This reverts commit 32cf21ac4edd6c0d5b9614368a83bcdc68acb031.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
  https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/46cd7f039db847c08baa6508edd7854f7c8ff80f.1585905873.git.michal.simek@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c