Re: [RFC PATCH 3/7] mmc: sdhci: Add callback to set bus mode

2017-08-16 Thread Kishon Vijay Abraham I
Adrian, On Tuesday 15 August 2017 01:08 PM, Adrian Hunter wrote: > On 07/08/17 19:01, Kishon Vijay Abraham I wrote: >> Add callback to set bus mode in sdhci library so that the >> controller driver can perform any bus mode specific configurations >> in the callback function. > > A quirk isn't

Re: [RFC PATCH 3/7] mmc: sdhci: Add callback to set bus mode

2017-08-16 Thread Kishon Vijay Abraham I
Adrian, On Tuesday 15 August 2017 01:08 PM, Adrian Hunter wrote: > On 07/08/17 19:01, Kishon Vijay Abraham I wrote: >> Add callback to set bus mode in sdhci library so that the >> controller driver can perform any bus mode specific configurations >> in the callback function. > > A quirk isn't

Re: [RFC PATCH 3/7] mmc: sdhci: Add callback to set bus mode

2017-08-15 Thread Adrian Hunter
On 07/08/17 19:01, Kishon Vijay Abraham I wrote: > Add callback to set bus mode in sdhci library so that the > controller driver can perform any bus mode specific configurations > in the callback function. A quirk isn't needed. Just hook ->set_ios() e.g. host->mmc_host_ops.set_ios =

Re: [RFC PATCH 3/7] mmc: sdhci: Add callback to set bus mode

2017-08-15 Thread Adrian Hunter
On 07/08/17 19:01, Kishon Vijay Abraham I wrote: > Add callback to set bus mode in sdhci library so that the > controller driver can perform any bus mode specific configurations > in the callback function. A quirk isn't needed. Just hook ->set_ios() e.g. host->mmc_host_ops.set_ios =

[RFC PATCH 3/7] mmc: sdhci: Add callback to set bus mode

2017-08-07 Thread Kishon Vijay Abraham I
Add callback to set bus mode in sdhci library so that the controller driver can perform any bus mode specific configurations in the callback function. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sdhci.c | 3 +++ drivers/mmc/host/sdhci.h | 1 + 2 files changed, 4

[RFC PATCH 3/7] mmc: sdhci: Add callback to set bus mode

2017-08-07 Thread Kishon Vijay Abraham I
Add callback to set bus mode in sdhci library so that the controller driver can perform any bus mode specific configurations in the callback function. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sdhci.c | 3 +++ drivers/mmc/host/sdhci.h | 1 + 2 files changed, 4 insertions(+)