[media] radio-shark*: Call cancel_work_sync from disconnect rather then release
authorHans de Goede <hdegoede@redhat.com>
Sat, 11 Aug 2012 09:34:53 +0000 (06:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 16:49:44 +0000 (13:49 -0300)
commitcfc1b2a06f87f562da2ffb9f8d1ae4203d9bfbfa
treec256562f8ca82abfc1a80a19b7b7caaaefdee34b
parent820ddfa6ca87fc12bf202907b77f635df2098e66
[media] radio-shark*: Call cancel_work_sync from disconnect rather then release

This removes the need for shark_led_work to take the v4l2 lock.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-shark.c
drivers/media/radio/radio-shark2.c