Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-07 Thread Adrian Hunter
On 06/04/16 18:04, Ludovic Desroches wrote: > On Wed, Apr 06, 2016 at 03:37:28PM +0300, Adrian Hunter wrote: >> On 04/04/16 18:27, Ludovic Desroches wrote: >>> In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to >>> reduce code duplication, put the code relative to the SD clock

Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-07 Thread Adrian Hunter
On 06/04/16 18:04, Ludovic Desroches wrote: > On Wed, Apr 06, 2016 at 03:37:28PM +0300, Adrian Hunter wrote: >> On 04/04/16 18:27, Ludovic Desroches wrote: >>> In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to >>> reduce code duplication, put the code relative to the SD clock

Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-06 Thread Ludovic Desroches
On Wed, Apr 06, 2016 at 05:04:45PM +0200, Ludovic Desroches wrote: > On Wed, Apr 06, 2016 at 03:37:28PM +0300, Adrian Hunter wrote: > > On 04/04/16 18:27, Ludovic Desroches wrote: > > > In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to > > > reduce code duplication, put the

Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-06 Thread Ludovic Desroches
On Wed, Apr 06, 2016 at 05:04:45PM +0200, Ludovic Desroches wrote: > On Wed, Apr 06, 2016 at 03:37:28PM +0300, Adrian Hunter wrote: > > On 04/04/16 18:27, Ludovic Desroches wrote: > > > In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to > > > reduce code duplication, put the

Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-06 Thread Ludovic Desroches
On Wed, Apr 06, 2016 at 03:37:28PM +0300, Adrian Hunter wrote: > On 04/04/16 18:27, Ludovic Desroches wrote: > > In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to > > reduce code duplication, put the code relative to the SD clock > > configuration in a function which can be

Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-06 Thread Ludovic Desroches
On Wed, Apr 06, 2016 at 03:37:28PM +0300, Adrian Hunter wrote: > On 04/04/16 18:27, Ludovic Desroches wrote: > > In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to > > reduce code duplication, put the code relative to the SD clock > > configuration in a function which can be

Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-06 Thread Adrian Hunter
On 04/04/16 18:27, Ludovic Desroches wrote: > In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to > reduce code duplication, put the code relative to the SD clock > configuration in a function which can be used by hosts for the > implementation of the set_clock() callback. > >

Re: [PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-06 Thread Adrian Hunter
On 04/04/16 18:27, Ludovic Desroches wrote: > In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to > reduce code duplication, put the code relative to the SD clock > configuration in a function which can be used by hosts for the > implementation of the set_clock() callback. > >

[PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-04 Thread Ludovic Desroches
In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to reduce code duplication, put the code relative to the SD clock configuration in a function which can be used by hosts for the implementation of the set_clock() callback. Signed-off-by: Ludovic Desroches

[PATCH v2 1/3] mmc: sdhci: introduce sdhci_compute_clock_config

2016-04-04 Thread Ludovic Desroches
In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to reduce code duplication, put the code relative to the SD clock configuration in a function which can be used by hosts for the implementation of the set_clock() callback. Signed-off-by: Ludovic Desroches ---