0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-25 06:26:15 +00:00
openwrt/target/linux/bcm27xx/patches-6.6/950-1031-fixup-Add-dwc_otg-driver.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

26 lines
808 B
Diff

From c0e0225012b04eea89393720d62f5391ba70cf75 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 18 Apr 2024 14:53:50 +0100
Subject: [PATCH 1031/1085] fixup! Add dwc_otg driver
Make USB_DWCOTG depend on USB=y to fix potential build failures.
See: https://github.com/raspberrypi/linux/issues/6059
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
drivers/usb/host/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -680,7 +680,7 @@ config USB_RENESAS_USBHS_HCD
config USB_DWCOTG
bool "Synopsis DWC host support"
- depends on USB && (FIQ || ARM64)
+ depends on USB=y && (FIQ || ARM64)
help
The Synopsis DWC controller is a dual-role
host/peripheral/OTG ("On The Go") USB controllers.