Signed-off-by: Guennadi Liakhovetski <[email protected]>
---
 drivers/mmc/host/sh_mmcif.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index ff8b63e..c4bfbb0 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -1307,9 +1307,7 @@ static int __devinit sh_mmcif_probe(struct 
platform_device *pdev)
                mmc->f_min = mmc->f_max / 512;
        if (pd->ocr)
                mmc->ocr_avail = pd->ocr;
-       mmc->caps = MMC_CAP_MMC_HIGHSPEED;
-       if (pd->caps)
-               mmc->caps |= pd->caps;
+       mmc->caps = MMC_CAP_MMC_HIGHSPEED | pd->caps;
        mmc->max_segs = 32;
        mmc->max_blk_size = 512;
        mmc->max_req_size = PAGE_CACHE_SIZE * mmc->max_segs;
-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to