Re: [PATCH 6/6] mmc: sdhci-pltfm: add pltfm-driver for imx35/51

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

 



> > +static int esdhc_pltfm_init(struct sdhci_host *host,
> > +               struct sdhci_pltfm_data *pdata, void *priv_pdata)
> > +{
> > +       struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
> > +       struct clk *clk;
> > +
> > +       clk = clk_get(NULL, "sdhc");
> 
> Here only could support one device, how about several device, for
> example sdhc.0, sdhc.1 sdhc.2, if using this method, they will get the
> first clock.
> Then sdhc.1 sdhc.2 can not work.
> 

Ouch, totally overlooked this one. Thanks for spotting it!

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux