[media] typhoon: convert to unlocked_ioctl
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 14 Nov 2010 12:49:34 +0000 (09:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 1 Dec 2010 22:10:09 +0000 (20:10 -0200)
Convert the typhoon driver from ioctl to unlocked_ioctl.

When doing this I noticed a bug where curfreq was not initialized correctly
to mutefreq (it wasn't multiplied by 16).

The initialization is now also done before the device node is created.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found