V4L/DVB (10053): radio-mr800: disable autosuspend support
authorAlexey Klimov <klimov.linux@gmail.com>
Sun, 28 Dec 2008 00:31:49 +0000 (21:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:08 +0000 (09:40 -0200)
Because this device doesn't provide any powermanagment capabilities(may
be they exist but unknown to me yet, so they are not implemented), we
should turn them off. Patch sets support_autosuspend equal to 0.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-mr800.c

index bb68148b2b6df81abd5364318c10fe6579bc4a96..e730eddb2bb5b0077c6c43fb693620262e055f17 100644 (file)
@@ -166,7 +166,7 @@ static struct usb_driver usb_amradio_driver = {
        .resume                 = usb_amradio_resume,
        .reset_resume           = usb_amradio_resume,
        .id_table               = usb_amradio_device_table,
-       .supports_autosuspend   = 1,
+       .supports_autosuspend   = 0,
 };
 
 /* switch on radio. Send 8 bytes to device. */