]> 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)
commit568aafeb5e1c0d977a51171a85c73ed741f9bbbd
treef9b3705506eb91fc040bbd2e861f75aba5e899fe
parent01fe6ade787dcc1155bced8b17f59cecd3e17de6
[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: b968b599c6f1 ("[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