summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/smiapp/smiapp.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2019-10-18 16:50:05 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-01-03 16:35:41 +0100
commitdd12ed17ce9e5523d30d2d6b8eac0bf52500b64f (patch)
tree9824d97bee293285d2a450ce6132aed8339a39b1 /drivers/media/i2c/smiapp/smiapp.h
parent7e2f75fd32385eadcd8c5b991508a90a5658ab9c (diff)
media: omap3isp: Don't restart CCDC if we're about to stop
The omap3isp driver set the new buffer and enabled the CCDC in a situation a new buffer was available but streaming was about to be stopped on the CCDC. This lead to frequent system crashes in case there were buffers queued when streming was being stopped. Fix this by first checking whether there's an intent to stop streaming and if there isn't, then set the new buffer and re-enable CCDC. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/smiapp/smiapp.h')
0 files changed, 0 insertions, 0 deletions