Re: [PATCH v2 1/2] mmc: sdhci: add init_card callback

2014-06-13 Thread Steffen Trumtrar
On Fri, Jun 13, 2014 at 01:01:25PM +0200, Ulf Hansson wrote: > On 13 June 2014 12:25, Steffen Trumtrar wrote: > > Currently host drivers using the sdhci-pltfm code can not configure the > > host based on the type of card inserted. > > > > The sdio driver e.g. calls the card_init callback, so the h

Re: [PATCH v2 1/2] mmc: sdhci: add init_card callback

2014-06-13 Thread Ulf Hansson
On 13 June 2014 12:25, Steffen Trumtrar wrote: > Currently host drivers using the sdhci-pltfm code can not configure the > host based on the type of card inserted. > > The sdio driver e.g. calls the card_init callback, so the host can now > know what card is used and configure itself accordingly.

[PATCH v2 1/2] mmc: sdhci: add init_card callback

2014-06-13 Thread Steffen Trumtrar
Currently host drivers using the sdhci-pltfm code can not configure the host based on the type of card inserted. The sdio driver e.g. calls the card_init callback, so the host can now know what card is used and configure itself accordingly. Provide a callback for users of the sdhci-pltfm code to