Re: [PATCH 2/2] mmc: dw_mmc: add a quirk for Security Management Unit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yuvaraj,

On Fri, May 24, 2013 at 3:04 AM, Yuvaraj Kumar C D <yuvaraj.cd@xxxxxxxxx> wrote:
> index bc3a1bc..a047ecf 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -1959,6 +1959,9 @@ static int dw_mci_init_slot(struct dw_mci *host, unsigned int id)
>                 mmc->caps |= MMC_CAP_4_BIT_DATA;
>         }
>
> +       if (host->pdata->quirks & DW_MCI_QUIRK_BYPASS_SMU)
> +               drv_data->cfg_smu(host);

Need to check that drv_data is not NULL, as discovered by Paul Taysom.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux