drivers: stm32_fmc2_nand: fix boundary check for chip select
Chip select is retrieved from device tree and check
must be done regarding the MAX_CS defined.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Reviewed-by: Christophe KERELLO <christophe.kerello@st.com>
Change-Id: I03144b133bd51a845a4794f0f6bbd9402fc04936
1 parent 0c3e8ac commit 495885bce6584f63916d7778ca000e848c939a9d
@Lionel Debieve Lionel Debieve authored on 21 Jul 2020
Showing 1 changed file
View
drivers/st/fmc/stm32_fmc2_nand.c