Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device
On Fri, Dec 25, 2015 at 3:55 AM, Wolfram Sangwrote: >> I think the below drivers >> >> drivers/i2c/busses/i2c-at91.c >> drivers/i2c/busses/i2c-designware-core.c >> drivers/i2c/busses/i2c-designware-platdrv.c >> drivers/i2c/busses/i2c-rcar.c >> drivers/i2c/busses/i2c-sh_mobile.c >> drivers/i2c/busses/i2c-hix5hd2.c >> drivers/i2c/busses/i2c-nomadik.c >> drivers/i2c/busses/i2c-omap.c >> drivers/i2c/busses/i2c-qup.c >> drivers/i2c/busses/i2c-s3c2410.c > > They use RuntimePM on their platform device, not on the adapter device > AFAICS. > Indeed my bad. -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device
> I think the below drivers > > drivers/i2c/busses/i2c-at91.c > drivers/i2c/busses/i2c-designware-core.c > drivers/i2c/busses/i2c-designware-platdrv.c > drivers/i2c/busses/i2c-rcar.c > drivers/i2c/busses/i2c-sh_mobile.c > drivers/i2c/busses/i2c-hix5hd2.c > drivers/i2c/busses/i2c-nomadik.c > drivers/i2c/busses/i2c-omap.c > drivers/i2c/busses/i2c-qup.c > drivers/i2c/busses/i2c-s3c2410.c They use RuntimePM on their platform device, not on the adapter device AFAICS. signature.asc Description: PGP signature
Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device
> >> Also maybe we can add a flag that the driver enables. >> that way for a short period till the driver removes the call >> the double call is not there. > > The only driver I found was the s3c2410 and I fixed it. Is there another > one? Then, I'd update my series because I want a consistent state in one > go. > I think the below drivers drivers/i2c/busses/i2c-at91.c drivers/i2c/busses/i2c-designware-core.c drivers/i2c/busses/i2c-designware-platdrv.c drivers/i2c/busses/i2c-rcar.c drivers/i2c/busses/i2c-sh_mobile.c drivers/i2c/busses/i2c-hix5hd2.c drivers/i2c/busses/i2c-nomadik.c drivers/i2c/busses/i2c-omap.c drivers/i2c/busses/i2c-qup.c drivers/i2c/busses/i2c-s3c2410.c -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device
> > RuntimePM for the logical adapter device should be handled in a central > > place > > by the core, and not by drivers. This series does exactly that. > > This is good idea. Thanks! > Also maybe we can add a flag that the driver enables. > that way for a short period till the driver removes the call > the double call is not there. The only driver I found was the s3c2410 and I fixed it. Is there another one? Then, I'd update my series because I want a consistent state in one go. signature.asc Description: Digital signature
Re: [PATCH 0/2] i2c: proper RuntimePM for the adapter device
On Wed, Dec 23, 2015 at 10:49 PM, Wolfram Sangwrote: > RuntimePM for the logical adapter device should be handled in a central place > by the core, and not by drivers. This series does exactly that. This is good idea. > > This is the first step of harmonizing RuntimePM handling in I2C. > Also maybe we can add a flag that the driver enables. that way for a short period till the driver removes the call the double call is not there. not an objection to the patch though > > Wolfram Sang (2): > i2c: always enable RuntimePM for the adapter device > i2c: s3c2410: remove superfluous runtime PM calls > > drivers/i2c/busses/i2c-s3c2410.c | 6 -- > drivers/i2c/i2c-core.c | 3 +++ > 2 files changed, 3 insertions(+), 6 deletions(-) > > -- > 2.1.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-i2c" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html