linux-stable/drivers/media/platform
Sylwester Nawrocki 056c61eb0d [media] exynos4-is: Clear isp-i2c adapter power.ignore_children flag
Since commit 04f59143b5
("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: <stable@vger.kernel.org> # 4.7+
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-22 10:16:17 -03:00
..
am437x [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
atmel [media] atmel-isc: mark PM functions as __maybe_unused 2016-09-19 16:25:33 -03:00
blackfin [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
coda [media] media: coda: Fix probe() if reset controller is missing 2016-07-08 16:34:59 -03:00
davinci [media] vpbe_display: convert g/s_crop to g/s_selection 2016-08-24 09:52:53 -03:00
exynos-gsc [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
exynos4-is [media] exynos4-is: Clear isp-i2c adapter power.ignore_children flag 2016-09-22 10:16:17 -03:00
marvell-ccic [media] mcam-core: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:13:30 -03:00
mtk-vcodec [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
mtk-vpu [media] VPU: mediatek: remove redundant dev_err call in mtk_vpu_probe() 2016-07-13 08:00:23 -03:00
omap [media] omap_vout: convert g/s_crop to g/s_selection 2016-08-24 09:49:44 -03:00
omap3isp [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00
rcar-vin [media] media: rcar-vin: use sink pad index for DV timings 2016-09-19 16:34:50 -03:00
s3c-camif [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
s5p-g2d [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
s5p-jpeg [media] s5p-jpeg: fix system and runtime PM integration 2016-09-22 10:11:57 -03:00
s5p-mfc [media] s5p-mfc: Remove deprecated create_singlethread_workqueue 2016-08-24 13:37:18 -03:00
soc_camera [media] soc-camera/rcar-vin: remove obsolete driver 2016-09-19 16:29:54 -03:00
sti [media] hva: fix sparse warnings 2016-09-19 16:28:48 -03:00
ti-vpe [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
vivid [media] vivid: fix error return code in vivid_create_instance() 2016-09-19 14:18:42 -03:00
vsp1 [media] vsp1: fix CodingStyle violations on multi-line comments 2016-09-19 15:18:01 -03:00
xilinx [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] fsl-viu: drop format names 2015-08-11 06:59:09 -03:00
Kconfig [media] pxa_camera: allow building it if COMPILE_TEST is set 2016-09-09 10:55:13 -03:00
m2m-deinterlace.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
Makefile [media] pxa_camera: merge soc_mediabus.c into pxa_camera.c 2016-09-12 06:42:24 -03:00
mx2_emmaprp.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
pxa_camera.c [media] pxa_camera: remove duplicated include from pxa_camera.c 2016-09-19 14:18:14 -03:00
rcar-fcp.c [media] v4l: rcar-fcp: Extend compatible list to support the FDP 2016-09-09 11:31:00 -03:00
rcar_jpu.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
sh_veu.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
sh_vou.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
via-camera.c [media] via-camera: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:14:04 -03:00
via-camera.h
vim2m.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00