Re: i2c: i801: Don't restore config registers on runtime PM

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

 



Hi Wolfram,

On Wed, 25 Apr 2018 14:13:00 +0200, Wolfram Sang wrote:
> On Wed, Apr 25, 2018 at 11:53:40AM +0200, Jean Delvare wrote:
> > Restoring configuration registers is only needed when we hand control
> > to the firmware. This is never the case with runtime power
> > management. The device will autosuspend whenever not used, so avoid
> > useless register writes by defining suspend/resume only, and not
> > runtime_suspend/runtime_resume.  
> 
> Is this 4.17 or 4.18 material? I tend to 4.17.

Your call. It's safe enough to go into 4.17, but at the same time not
critical, so nothing horrible will happen if it has to wait until 4.18.

-- 
Jean Delvare
SUSE L3 Support



[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