mmcsd/sdio: correct return value of sdio_probe()
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
4eddde90b0
commit
591942f69b
@ -412,7 +412,7 @@ int sdio_probe(FAR struct sdio_dev_s *dev)
|
||||
|
||||
err:
|
||||
SDIO_GIVELOCK(dev);
|
||||
return OK;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int sdio_set_blocksize(FAR struct sdio_dev_s *dev, uint8_t function,
|
||||
|
Loading…
Reference in New Issue
Block a user