Skip to content
Commit 781aad0d authored by Bin Meng's avatar Bin Meng Committed by Peng Fan
Browse files

mmc: mmc_spi: Move argument check to the beginning of mmc_spi_sendcmd()



The argument check should happen before any transfer on the SPI lines.

Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 01962f8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment