Skip to contentSkip to conversation

radio-mr800: disable autosuspend support

PATCH In review Alexey Klimov 1 participant 1 message Dec 8, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 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.

---

linux/drivers/media/radio/radio-mr800.c +1 -1
diff -r bc48582f8776 linux/drivers/media/radio/radio-mr800.c
@@ -169,7 +169,7 @@
 	.reset_resume		= usb_amradio_resume,
 #endif
 	.id_table		= usb_amradio_device_table,
-	.supports_autosuspend	= 1,
+	.supports_autosuspend	= 0,
 };
 
 /* switch on radio. Send 8 bytes to device. */
Signature · 6 lines
Best regards, Klimov Alexey

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list