[COMMON] spi: s3c64xx: prevent SPI port probe of exceeding max channel number
authorYoungmin Nam <youngmin.nam@samsung.com>
Tue, 26 Jul 2016 10:32:53 +0000 (19:32 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
commita9f870acdcef799db8e08207450a0ae7b2e85dd1
tree0a42065dc36cdb9403a94c267e46764c89016456
parenta72ab5b5b58483f4eed9f4c3aae725859b1bc837
[COMMON] spi: s3c64xx: prevent SPI port probe of exceeding max channel number

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

Change-Id: I5e4c1c60c2ea3db645118d946271a83e04548ebc
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
drivers/spi/spi-s3c64xx.c