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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Apr 2020 06:00:35 +0000 (08:00 +0200)
commit49174d5d54b2d0b1b11a807d6b06b507ad715bd9
treed08eb7ef8e344617608636505e202c420ac972a6
parentc3c960145eb8942de21af2e18cc4e1512bebec4b
media: ti-vpe: cal: fix disable_irqs to only the intended target

commit 1db56284b9da9056093681f28db48a09a243274b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/platform/ti-vpe/cal.c