lkml.org 
[lkml]   [2023]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] usb: dwc3: core: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
From


On 27-11-23 02:28 pm, Prashanth K wrote:

> --- a/drivers/usb/dwc3/host.c
> +++ b/drivers/usb/dwc3/host.c
> @@ -89,6 +89,8 @@ int dwc3_host_init(struct dwc3 *dwc)
>
>         memset(props, 0, sizeof(struct property_entry) *
> ARRAY_SIZE(props));
>
> +       props[prop_idx++] =
> PROPERTY_ENTRY_BOOL("xhci-sg-trb-cache-size-quirk");
> +
>         if (dwc->usb3_lpm_capable)
>                 props[prop_idx++] =
> PROPERTY_ENTRY_BOOL("usb3-lpm-capable");
>
>
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -323,6 +323,9 @@ static int xhci_plat_probe(struct platform_device
> *pdev)
>                 if (device_property_read_bool(tmpdev,
> "quirk-broken-port-ped"))
>                         xhci->quirks |= XHCI_BROKEN_PORT_PED;
>
> +               if (device_property_read_bool(tmpdev,
> "xhci-sg-trb-cache-size-quirk"))
> +                       xhci->quirks |= XHCI_SG_TRB_CACHE_SIZE_QUIRK;
> +
>                 device_property_read_u32(tmpdev, "imod-interval-ns",
>                                          &xhci->imod_interval);
>         }
>
>
> Regards,
> Prashanth K
>

Updated the patch by splitting it into a series of 2 patch-sets
https://lore.kernel.org/all/20231212112521.3774610-1-quic_prashk@quicinc.com/

Thanks,
Prashanth K

\
 
 \ /
  Last update: 2023-12-12 12:35    [W:0.090 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site