commit | adb8963f27e00273c912a53f28f7af5d14cfd32e | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Mon Apr 13 11:43:40 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Jul 17 10:03:43 2015 -0300 |
tree | 367b5ebcd62ae4e784d69bb19b880340ce7e8ebe | |
parent | df5c3e7c8a87a4384ff7a0adba16baae9a40a566 [diff] |
[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: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>