Message ID | 20220128214852.21551-3-eajames@linux.ibm.com |
---|---|
State | New |
Headers | show |
Series | Support PL2303 on AST2600 | expand |
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 --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");
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(-)