diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index a9ce192828b8..916b88ee2de4 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -2305,7 +2305,7 @@ static long mmc_rpmb_ioctl(struct file *filp, unsigned int cmd, break; } - return 0; + return ret; } #ifdef CONFIG_COMPAT