OSDN Git Service

media: ti-vpe: cal: fix disable_irqs to only the intended target
authorBenoit Parrot <bparrot@ti.com>
Mon, 2 Mar 2020 13:56:52 +0000 (14:56 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Mar 2020 21:47:30 +0000 (22:47 +0100)
commit1db56284b9da9056093681f28db48a09a243274b
tree25c071f396a75a7f7c96306fc84bb6d981621f6a
parente3004605a0c9d643ab121e1cf53d1436f57c0b9f
media: ti-vpe: cal: fix disable_irqs to only the intended target

disable_irqs() was mistakenly disabling all interrupts when called.
This cause all port stream to stop even if only stopping one of them.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal.c