V4L/DVB: IR: replace spinlock with mutex
commit45a568fa6f6bf8e5b9c32e52292f297e8473a985
authorMaxim Levitsky <maximlevitsky@gmail.com>
Sat, 31 Jul 2010 14:59:16 +0000 (31 11:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:42:59 +0000 (8 23:42 -0300)
treeb64adef3e5a75e7f00b477d43724986a0c3aacea
parent510fcb70ff375b0cec6638fcfafdf36233690bfc
V4L/DVB: IR: replace spinlock with mutex

Some handlers (lirc for example) allocates memory on initialization,
doing so in atomic context is cumbersome.
Fixes warning about sleeping function in atomic context.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-raw-event.c