[media] cx231xx: use core-assisted lock
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 9 Oct 2010 16:13:35 +0000 (13:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:17:49 +0000 (01:17 -0200)
commit643800d5c806cf46b0cd184b595a14cce83224e4
treecd108c051fe983f0a6d3a67111abf7cd71679ec0
parent0f86158375308804f86d36c7d45aaff1d7dc0d96
[media] cx231xx: use core-assisted lock

Instead of doing its own lock, use core-assisted one. As a bonus, it
will do the proper unlock during queue wait events. This fixes a
long-standing bug where softwares like tvtime would hang if you try to
use cx231xx-alsa.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-video.c