diff mbox series

[linux,dev-5.15,2/3] USB: uhci: Add ast2600 compatible

Message ID 20220128214852.21551-3-eajames@linux.ibm.com
State New
Headers show
Series Support PL2303 on AST2600 | expand

Commit Message

Eddie James Jan. 28, 2022, 9:48 p.m. UTC
Add the ast2600 compatible string to enable the Aspeed workarounds
on the UHCI.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 drivers/usb/host/uhci-platform.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Joel Stanley Jan. 31, 2022, 5:19 a.m. UTC | #1
On Fri, 28 Jan 2022 at 21:49, Eddie James <eajames@linux.ibm.com> wrote:
>
> Add the ast2600 compatible string to enable the Aspeed workarounds
> on the UHCI.
>
> Signed-off-by: Eddie James <eajames@linux.ibm.com>

This one has just popped up in the stable backports (v5.15.18) so I
will skip it.

> ---
>  drivers/usb/host/uhci-platform.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c
> index 70dbd95c3f06..be9e9db7cad1 100644
> --- a/drivers/usb/host/uhci-platform.c
> +++ b/drivers/usb/host/uhci-platform.c
> @@ -113,7 +113,8 @@ static int uhci_hcd_platform_probe(struct platform_device *pdev)
>                                 num_ports);
>                 }
>                 if (of_device_is_compatible(np, "aspeed,ast2400-uhci") ||
> -                   of_device_is_compatible(np, "aspeed,ast2500-uhci")) {
> +                   of_device_is_compatible(np, "aspeed,ast2500-uhci") ||
> +                   of_device_is_compatible(np, "aspeed,ast2600-uhci")) {
>                         uhci->is_aspeed = 1;
>                         dev_info(&pdev->dev,
>                                  "Enabled Aspeed implementation workarounds\n");
> --
> 2.27.0
>
diff mbox series

Patch

diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c
index 70dbd95c3f06..be9e9db7cad1 100644
--- a/drivers/usb/host/uhci-platform.c
+++ b/drivers/usb/host/uhci-platform.c
@@ -113,7 +113,8 @@  static int uhci_hcd_platform_probe(struct platform_device *pdev)
 				num_ports);
 		}
 		if (of_device_is_compatible(np, "aspeed,ast2400-uhci") ||
-		    of_device_is_compatible(np, "aspeed,ast2500-uhci")) {
+		    of_device_is_compatible(np, "aspeed,ast2500-uhci") ||
+		    of_device_is_compatible(np, "aspeed,ast2600-uhci")) {
 			uhci->is_aspeed = 1;
 			dev_info(&pdev->dev,
 				 "Enabled Aspeed implementation workarounds\n");