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, 17 Apr 2020 08:50:08 +0000 (10:50 +0200)
commit3a59d985ceb11523c80857925fa59d60123f3bfa
tree4c2fb1fc2bdc4db58e5f1bb2b5cc4caf32c096d1
parent46b0e2900ee2d0653e2abb527cc4d0a829e71e28
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