[COMMON] serial: samsung: prevent UART port probe of exceeding max channel number
authorYoungmin Nam <youngmin.nam@samsung.com>
Mon, 17 Oct 2016 06:25:08 +0000 (15:25 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
commitbc6f3c30e18b37f542b8f1ca6f33572ca4718d32
treeb524cc76e7a3efe434ea238fcf8968292fe166fd
parent0eae78004a2ce68b0d3c87ed3279e064c3eb10c1
[COMMON] serial: samsung: prevent UART port probe of exceeding max channel number

This patch prevents UART port probing when the UART port number exceeds
UART max channel numbers.

Change-Id: Ia4d0ee85fd240ec4e83107a3e67d66797e1733fd
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
drivers/tty/serial/samsung.c