From: Alexey Klimov Date: Sun, 28 Dec 2008 00:31:49 +0000 (-0300) Subject: V4L/DVB (10053): radio-mr800: disable autosuspend support X-Git-Tag: Ubuntu-5.0.0-8.9~29754^2~65 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f2ce9179eab9a1551e91e3c97498e9350a087e39;p=mirror_ubuntu-disco-kernel.git V4L/DVB (10053): radio-mr800: disable autosuspend support 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 Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index bb68148b2b6d..e730eddb2bb5 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c @@ -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. */