Re: [linux-pm] [PATCH] i2c: Hook up runtime PM support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 04, 2010 at 10:57:27PM +0100, Rafael J. Wysocki wrote:
> On Wednesday 03 February 2010, Mark Brown wrote:
> > Allow I2C drivers to make use of the runtime PM framework by adding
> > bus implementations of the runtime PM operations. These simply
> > immediately suspend when the device is idle.

> Perhaps it would be a good idea to give the driver a chance to veto
> the suspend by calling its _idle callback?  We do that for PCI and turns out to
> be quite useful.

Hrm, I guess.  It seems an odd thing to want to use - for a bus like I2C
there's nothing other than the driver involved so the request that is
being vetoed will have been initiated by the driver which seems wrong.
Out of interest do you have any pointers to drivers using this (my greps
aren't turning anything up in -next)?
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux