]> git.baikalelectronics.ru Git - kernel.git/commit
media: omap3isp: Prevent enabling CCDC when stopping streaming
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 2 Jan 2020 15:25:33 +0000 (12:25 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 27 Feb 2020 20:25:51 +0000 (17:25 -0300)
commit7e213fb592cc850985fe0e7440b72585257060ba
treed2511f5495a65494036e16cd0c675bfac6e8bb12
parentf092cc4218a6d3439375ec10e5e89ffe8f37270c
media: omap3isp: Prevent enabling CCDC when stopping streaming

Commit ... prevented restarting CCDC through its interrupt handler when
it's about to be disabled. It missed to address the case when CCDC might
be enabled due to queueing a buffer. Do that now.

Fixes: 7ffca9dbd73b ("omap3isp: Don't restart CCDC if we're about to stop")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/omap3isp/ispccdc.c