Commit f2ce9179 authored by Alexey Klimov's avatar Alexey Klimov Committed by Mauro Carvalho Chehab

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: default avatarAlexey Klimov <klimov.linux@gmail.com>
Signed-off-by: default avatarDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f4e9043e
...@@ -166,7 +166,7 @@ static struct usb_driver usb_amradio_driver = { ...@@ -166,7 +166,7 @@ static struct usb_driver usb_amradio_driver = {
.resume = usb_amradio_resume, .resume = usb_amradio_resume,
.reset_resume = usb_amradio_resume, .reset_resume = usb_amradio_resume,
.id_table = usb_amradio_device_table, .id_table = usb_amradio_device_table,
.supports_autosuspend = 1, .supports_autosuspend = 0,
}; };
/* switch on radio. Send 8 bytes to device. */ /* switch on radio. Send 8 bytes to device. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment