diff options
Diffstat (limited to 'drivers/mmc/host/wbsd.c')
-rw-r--r-- | drivers/mmc/host/wbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c index c303e7f57ab4..67e5a9b80f53 100644 --- a/drivers/mmc/host/wbsd.c +++ b/drivers/mmc/host/wbsd.c | |||
@@ -939,7 +939,7 @@ static int wbsd_get_ro(struct mmc_host *mmc) | |||
939 | 939 | ||
940 | spin_unlock_bh(&host->lock); | 940 | spin_unlock_bh(&host->lock); |
941 | 941 | ||
942 | return csr & WBSD_WRPT; | 942 | return !!(csr & WBSD_WRPT); |
943 | } | 943 | } |
944 | 944 | ||
945 | static const struct mmc_host_ops wbsd_ops = { | 945 | static const struct mmc_host_ops wbsd_ops = { |