media: ti-vpe: cal: Use spin_lock_irq() when starting or stopping stream
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 6 Dec 2020 23:53:43 +0000 (00:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 4 Jan 2021 10:44:41 +0000 (11:44 +0100)
commitcff615dba5c76d8c806d95e81ee6b8c66e3d7031
tree16534588bf36f5e87ef71dda692f8dd8b228d9af
parentcbb8cd7cc129f2920a3edf686bf2d7961cd1b00c
media: ti-vpe: cal: Use spin_lock_irq() when starting or stopping stream

The cal_start_streaming() and cal_stop_streaming() functions are called
with interrupts enabled. spin_lock_irq() can thus be used instead of
spin_lock_irqsave().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-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-video.c