Re: [PATCH V3 4/4] mmc: mmci: Save and restore register context

2013-09-03 Thread Daniel Lezcano
On 09/03/2013 11:29 AM, Ulf Hansson wrote: > If a corresponding power domain exists for the device and it manages > to cut the domain regulator while the device is runtime suspended, > the IP loses it's registers context. We restore the context in the > .runtime_resume callback from the existing re

[PATCH V3 4/4] mmc: mmci: Save and restore register context

2013-09-03 Thread Ulf Hansson
If a corresponding power domain exists for the device and it manages to cut the domain regulator while the device is runtime suspended, the IP loses it's registers context. We restore the context in the .runtime_resume callback from the existing register caches to adapt to this siutuation. We also