Message ID | 1367107609-2586-1-git-send-email-linkinjeon@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index e12a03c..ae8e1de 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -201,6 +201,7 @@ static ssize_t power_ro_lock_show(struct device *dev, locked = 1; ret = snprintf(buf, PAGE_SIZE, "%d\n", locked); + mmc_blk_put(md); return ret; }