13 Jun
2019
13 Jun
'19
9:04 p.m.
On Thu, 13 Jun 2019 20:48:01 +0200, Mark Brown wrote:
On Wed, Jun 12, 2019 at 11:47:25AM -0500, Pierre-Louis Bossart wrote:
Add debug option to disable pm_runtime. This is not intended for production devices but is very useful for platform bringup.
I can't immediately find it right now but isn't there some generic way of doing this in the runtime PM framework? If not it seems like it'd be a good thing to add, these can't be the only devices where it'd be useful.
Well, runtime PM can be fully controlled via sysfs, but the problem is that the driver declares itself being runtime-enabled. So, either we leave it default and let user-space enabling it (via udev or other way), or introduce some condition in the driver side.
Takashi