From: Greg Kroah-Hartman Date: Tue, 19 Jan 2021 18:11:51 +0000 (+0100) Subject: 4.19-stable patches X-Git-Tag: v4.4.253~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4214a8cf86348c6303cd09d7c21be6b09ccbc5ba;p=thirdparty%2Fkernel%2Fstable-queue.git 4.19-stable patches added patches: usb-ohci-make-distrust_firmware-param-default-to-false.patch --- diff --git a/queue-4.19/usb-ohci-make-distrust_firmware-param-default-to-false.patch b/queue-4.19/usb-ohci-make-distrust_firmware-param-default-to-false.patch new file mode 100644 index 00000000000..2a04e9a34ca --- /dev/null +++ b/queue-4.19/usb-ohci-make-distrust_firmware-param-default-to-false.patch @@ -0,0 +1,34 @@ +From c4005a8f65edc55fb1700dfc5c1c3dc58be80209 Mon Sep 17 00:00:00 2001 +From: Hamish Martin +Date: Fri, 11 Sep 2020 09:25:12 +1200 +Subject: usb: ohci: Make distrust_firmware param default to false + +From: Hamish Martin + +commit c4005a8f65edc55fb1700dfc5c1c3dc58be80209 upstream. + +The 'distrust_firmware' module parameter dates from 2004 and the USB +subsystem is a lot more mature and reliable now than it was then. +Alter the default to false now. + +Suggested-by: Alan Stern +Acked-by: Alan Stern +Signed-off-by: Hamish Martin +Link: https://lore.kernel.org/r/20200910212512.16670-2-hamish.martin@alliedtelesis.co.nz +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/usb/host/ohci-hcd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/usb/host/ohci-hcd.c ++++ b/drivers/usb/host/ohci-hcd.c +@@ -101,7 +101,7 @@ static void io_watchdog_func(struct time + + + /* Some boards misreport power switching/overcurrent */ +-static bool distrust_firmware = true; ++static bool distrust_firmware; + module_param (distrust_firmware, bool, 0); + MODULE_PARM_DESC (distrust_firmware, + "true to distrust firmware power/overcurrent setup");