Skip to content
Commit af473a8a authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
Browse files

[media] v4l: vsp1: Don't sleep in atomic context



The vsp1_entity_is_streaming() function is called in atomic context when
queuing buffers, and sleeps due to a mutex. As the mutex just protects
access to one structure field, fix this by replace the mutex with a
spinlock.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
(cherry picked from commit adb8963f

)
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 51a883fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment