]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: omap3isp: Don't set streaming state on random subdevs
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 7 Aug 2019 14:21:27 +0000 (11:21 -0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 16 Oct 2019 09:55:24 +0000 (11:55 +0200)
commit6870a3b9d9f4b4de4250e0c81de4d8bf1b1024e1
tree0473c93e620547314f4016c47711aa6e59117a0b
parent9c97f891b1d7df4c8195cc0cda3f1524aa1feb0f
media: omap3isp: Don't set streaming state on random subdevs

BugLink: https://bugs.launchpad.net/bugs/1847155
[ Upstream commit 7ef57be07ac146e70535747797ef4aee0f06e9f9 ]

The streaming state should be set to the first upstream sub-device only,
not everywhere, for a sub-device driver itself knows how to best control
the streaming state of its own upstream sub-devices.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/media/platform/omap3isp/isp.c