Re: [PATCH] usb: fix error while OF and ACPI all config Y
From: Sergey Shtylyov
Date: Thu Feb 13 2025 - 03:56:06 EST
On 2/13/25 9:08 AM, 412574090@xxxxxxx wrote:
> From: weiyufeng <weiyufeng@xxxxxxxxxx>
>
> When both OF and ACPI are configured as Y simultaneously,this may
> cause error while install os with usb disk,while reading data from
> the usb disk, the onboard_ hub driver will reinitialize the
> hub, causing system installation exceptions.
>
> Signed-off-by: weiyufeng <weiyufeng@xxxxxxxxxx>
> ---
> drivers/usb/misc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
> index 6497c4e81e95..9ffb51191621 100644
> --- a/drivers/usb/misc/Kconfig
> +++ b/drivers/usb/misc/Kconfig
> @@ -318,7 +318,7 @@ config BRCM_USB_PINMAP
>
> config USB_ONBOARD_DEV
> tristate "Onboard USB device support"
> - depends on OF
> + depends on (OF && !ACPI)
I don't think () are needed here.
[...]
MBR, Sergey