aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSylwester Nawrocki <[email protected]>2016-09-13 11:39:33 -0300
committerMauro Carvalho Chehab <[email protected]>2016-09-22 10:16:17 -0300
commit056c61eb0da4d7181fc7072567dc1931cb0e1cbb (patch)
treec52d0add80a59207770356bff223974ffe2dd5ff /tools/perf/scripts/python
parentcb47b415fd5cda7c9ef8f9d158e59f8af5bcb094 (diff)
[media] exynos4-is: Clear isp-i2c adapter power.ignore_children flag
Since commit 04f59143b571161d25315dd52d7a2ecc022cb71a ("i2c: let I2C masters ignore their children for PM") the power.ignore_children flag is set when registering an I2C adapter. Since I2C transfers are not managed by the fimc-isp-i2c driver its clients use pm_runtime_* calls directly to communicate required power state of the bus controller. However, when the power.ignore_children flag is set that doesn't work, so clear that flag back after registering the adapter. While at it drop pm_runtime_enable() call on the i2c_adapter as it is already done by the I2C subsystem when registering I2C adapter. This patch is meant as a minimal change to fix the regression, eventually the I2C_ISPx clock handling will be moved to the top level fimc-is driver and whole runtime PM code is going to be dropped from the fimc-is-i2c module. Cc: <[email protected]> # 4.7+ Reported-by: Marek Szyprowski <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]> Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions