On Sun, Jul 28, 2013 at 10:51:31PM +0200, Linus Walleij wrote: > On Sun, Jul 28, 2013 at 4:43 PM, Mark Brown <broonie@xxxxxxxxxx> wrote: > > + * @auto_runtime_pm: the core should ensure a runtime PM reference is held > > + * while the hardware is prepared > I'd mention here that the reference is taken on the parent > device of the SPI master, i.e. the very platform or AMBA > device, so that it will hit upwards to the bus. Yeah, I was actually contemplating changing that to use the spidev though I think I'm going to stich with what's there. On the one hand runtime PM does do the right thing with children but really the way it's set up at the minute is more obvious for users.
Attachment:
signature.asc
Description: Digital signature