Re: [linux-sunxi] [PATCH v3 1/3] mmc: sunxi: fix timeout in sunxi_mmc_oclk_onoff

2015-08-25 Thread Ulf Hansson
On 12 August 2015 at 16:49, Hans de Goede wrote: > Hi, > > On 08/12/2015 03:29 PM, Michal Suchanek wrote: >> >> The 250ms timeout is too short. >> >> On my system enabling the oclk takes under 50ms and disabling slightly >> over 100ms when idle. Under load disabling the clock can take over >> 350m

Re: [linux-sunxi] [PATCH v3 1/3] mmc: sunxi: fix timeout in sunxi_mmc_oclk_onoff

2015-08-12 Thread Hans de Goede
Hi, On 08/12/2015 03:29 PM, Michal Suchanek wrote: The 250ms timeout is too short. On my system enabling the oclk takes under 50ms and disabling slightly over 100ms when idle. Under load disabling the clock can take over 350ms. This does not make mmc clock gating look like good option to have