]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 5 May 2020 10:32:22 +0000 (12:32 +0200)
commitc3a56d2a6762391696d2a5dee34fcd16e72b6df0
tree8de9c4b3d612a584fb787cb155c7899c7e18ea03
parenta10726fa65904e8b0dcb9bbfeb458efe223afc52
media: ti-vpe: cal: fix disable_irqs to only the intended target

BugLink: https://bugs.launchpad.net/bugs/1873481
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/media/platform/ti-vpe/cal.c