diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-09 17:05:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 11:35:25 -0200 |
commit | dc961136b982c4260b6701d9c619bf7a4a7ac6ed (patch) | |
tree | f79d280b6c094c9e5944ff4a5beb9dc3a84f14b1 /drivers/staging/tm6000/tm6000-core.c | |
parent | efba4bc12c7e81b8ece677eed5b8c8bc754802dc (diff) | |
download | op-kernel-dev-dc961136b982c4260b6701d9c619bf7a4a7ac6ed.zip op-kernel-dev-dc961136b982c4260b6701d9c619bf7a4a7ac6ed.tar.gz |
[media] tm6000: don't use BKL at the driver
Instead, use core lock handling.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-core.c')
-rw-r--r-- | drivers/staging/tm6000/tm6000-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c index 0912639..af41bbe 100644 --- a/drivers/staging/tm6000/tm6000-core.c +++ b/drivers/staging/tm6000/tm6000-core.c @@ -313,10 +313,8 @@ int tm6000_init_analog_mode(struct tm6000_core *dev) * beginning, we needed to add this hack. The better would be to * discover some way to make tm6000 to wake up without this hack. */ - mutex_lock(&dev->lock); f.frequency = dev->freq; v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, &f); - mutex_unlock(&dev->lock); msleep(100); tm6000_set_standard(dev, &dev->norm); |