[media] radio-si4713: use V4L2 core lock
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 8 Apr 2013 09:31:30 +0000 (06:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 22:52:56 +0000 (19:52 -0300)
commit55b2a312c29695520f813e61d668318169895ba7
tree75ed8a62d98b0dc0e01048ade3e4f93de357c8c7
parenta58841d0dcb79aebc558a1b55d29995f62aa61a4
[media] radio-si4713: use V4L2 core lock

Simplify locking by using the V4L2 core lock mechanism. This allows us to
remove all locking from the i2c module. This will also simplify the upcoming
conversion to the control framework.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Tested-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-si4713.c
drivers/media/radio/si4713-i2c.c
drivers/media/radio/si4713-i2c.h