OSDN Git Service

Revert "serial: uartps: Do not allow use aliases >= MAX_UART_INSTANCES"
authorMichal Simek <michal.simek@xilinx.com>
Fri, 3 Apr 2020 09:24:33 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 14:00:48 +0000 (16:00 +0200)
commit91c9dfa25c7f95b543c280e0edf1fd8de6e90985
tree51f85e163cdae22fce463972240124085800f7b8
parentb6fd2dbbd649b89a3998528994665ded1e3fbf7f
Revert "serial: uartps: Do not allow use aliases >= MAX_UART_INSTANCES"

This reverts commit 2088cfd882d0403609bdf426e9b24372fe1b8337.

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/dac3898e3e32d963f357fb436ac9a7ac3cbcf933.1585905873.git.michal.simek@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c