Re: [PATCH 01/29] usb: dwc3: Discard synopsys,dwc3 compatibility string

From: Felipe Balbi
Date: Tue Oct 20 2020 - 08:27:36 EST



Hi,

Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx> writes:
> Syonpsys IP cores are supposed to be defined with "snps" vendor-prefix.
> Discard a DW USB3 compatible string with the deprecated prefix seeing
> one isn't used by any dts file anymore.
>
> Signed-off-by: Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/usb/dwc3/core.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index 2eb34c8b4065..28440250e798 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -1878,9 +1878,6 @@ static const struct of_device_id of_dwc3_match[] = {
> {
> .compatible = "snps,dwc3"
> },
> - {
> - .compatible = "synopsys,dwc3"
> - },
> { },
> };
> MODULE_DEVICE_TABLE(of, of_dwc3_match);

sorry, no. You can't guarantee that there isn't a FW in ROM somewhere
using the old string.

--
balbi

Attachment: signature.asc
Description: PGP signature