|
@@ -153,10 +153,9 @@ static int sh_mobile_sdhi_probe(struct platform_device *pdev)
|
|
|
mmc_data->clk_enable = sh_mobile_sdhi_clk_enable;
|
|
|
mmc_data->clk_disable = sh_mobile_sdhi_clk_disable;
|
|
|
mmc_data->capabilities = MMC_CAP_MMC_HIGHSPEED;
|
|
|
+ mmc_data->write16_hook = sh_mobile_sdhi_write16_hook;
|
|
|
if (p) {
|
|
|
mmc_data->flags = p->tmio_flags;
|
|
|
- if (mmc_data->flags & TMIO_MMC_HAS_IDLE_WAIT)
|
|
|
- mmc_data->write16_hook = sh_mobile_sdhi_write16_hook;
|
|
|
mmc_data->ocr_mask = p->tmio_ocr_mask;
|
|
|
mmc_data->capabilities |= p->tmio_caps;
|
|
|
mmc_data->capabilities2 |= p->tmio_caps2;
|