[RFC] i2c: Prevent runtime suspend of parent during adapter registration

2015-12-15 Thread Jarkko Nikula
If runtime PM of parent device is enabled before it registers the I2C adapter there can be unnecessary runtime suspend during adapter device registration. This can happen when adapter is registered from parent's probe and if parent device is initially active platform device. In that case

Re: [RFC] i2c: Prevent runtime suspend of parent during adapter registration

2015-12-15 Thread Alan Stern
On Tue, 15 Dec 2015, Jarkko Nikula wrote: > If runtime PM of parent device is enabled before it registers the I2C > adapter there can be unnecessary runtime suspend during adapter device > registration. This can happen when adapter is registered from parent's > probe and if parent device is