[PATCH 6/6] mtd: pxa3xx_nand: Gate/ungate the NAND clock in suspend/resume paths
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Wed Nov 4 13:26:05 PST 2015
On 4 November 2015 at 18:16, Robert Jarzmik <robert.jarzmik at free.fr> wrote:
> Ezequiel Garcia <ezequiel at vanguardiasur.com.ar> writes:
>
>> The NAND clock can be disabled on suspend and enabled on resume.
>>
>> Signed-off-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
> Won't registers set by firmware (IPL/SPL) be lost if you cut the clock ? For
> example, NDREDEL ? And if so, shouldn't they be saved upon suspend and restored
> upon resume ?
>
I'd say no, because we are gating the bus clock, not the interface clock.
And in that case, my tests would have failed, and they didn't.
--
Ezequiel García, VanguardiaSur
www.vanguardiasur.com.ar
More information about the linux-mtd
mailing list