nand: raw_nand: fix timeout issue in nand_wait_ready
nand_wait_ready is called with a millisecond delay
but the timeout used a micro second. Fixing the conversion
in the timeout call.
The prototype of the function is also changed to use an unsigned int
parameter.

Change-Id: Ia3281be7980477dfbfdb842308d35ecd8b926fb8
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
1 parent 6751b83 commit ea306945614b88f993947e6fbd77e2cd5f575879
@Lionel Debieve Lionel Debieve authored on 26 Aug 2020
Yann Gautier committed on 24 Sep 2020
Showing 2 changed files
View
drivers/mtd/nand/raw_nand.c
View
include/drivers/raw_nand.h