[2/2] linux: Compile "Intel XHCI USB Role Switch" as a module on x86_64

Message ID 4d8360ae-829c-5fcc-9ed7-8e3d5875ea0b@ipfire.org
State Accepted
Commit e155e2f99938555576b25b1be4a31a3c0a492ae4
Headers
Series [1/2] linux: Update to 6.1.24 |

Commit Message

Peter Müller April 18, 2023, 8:52 p.m. UTC
  From the kernel documentation:

> Driver for the internal USB role switch for switching the USB data
> lines between the xHCI host controller and the dwc3 gadget controller
> found on various Intel SoCs. [...]

This may unblock USB-LAN-adaptor usage on certain boards, as reported
once in #12750. Overall affected devices seem to be scanty;
nevertheless, enabling this as a module only is highly unlikely to cause
any harm, so let's give it a try.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/kernel/kernel.config.x86_64-ipfire | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
index 867e99e9f..948179b04 100644
--- a/config/kernel/kernel.config.x86_64-ipfire
+++ b/config/kernel/kernel.config.x86_64-ipfire
@@ -6061,7 +6061,7 @@  CONFIG_UCSI_ACPI=m
 # end of USB Type-C Alternate Mode drivers
 
 CONFIG_USB_ROLE_SWITCH=m
-# CONFIG_USB_ROLES_INTEL_XHCI is not set
+CONFIG_USB_ROLES_INTEL_XHCI=m
 CONFIG_MMC=m
 CONFIG_MMC_BLOCK=m
 CONFIG_MMC_BLOCK_MINORS=8