]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: am437x-vpfe: Fix a race condition during release
authorBenoit Parrot <bparrot@ti.com>
Wed, 15 Jul 2015 21:00:06 +0000 (18:00 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 22 Jul 2015 14:03:54 +0000 (11:03 -0300)
commitfea0c169e74527590644c9d4c08e16d7113901e0
treef9b3705506eb91fc040bbd2e861f75aba5e899fe
parent86952dad395b5d30819df97b162df69a0495f692
[media] media: am437x-vpfe: Fix a race condition during release

There was a race condition where during cleanup/release operation
on-going streaming would cause a kernel panic because the hardware
module was disabled prematurely with IRQ still pending.

Fixes: 0714655b2584 ("[media] media: platform: add VPFE capture driver support for AM437X")
Cc: <stable@vger.kernel.org> # v4.0+
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/am437x/am437x-vpfe.c