On 29/07/2024 22:18, Danila Tikhonov wrote:
> The SM7325 Linux Android firmware needs this workaround as well. Add it
> to the list.
> 
> Signed-off-by: Danila Tikhonov <dan...@jiaxyga.com>
> ---
>  drivers/usb/typec/ucsi/ucsi_glink.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c 
> b/drivers/usb/typec/ucsi/ucsi_glink.c
> index 16c328497e0b..80fb04473617 100644
> --- a/drivers/usb/typec/ucsi/ucsi_glink.c
> +++ b/drivers/usb/typec/ucsi/ucsi_glink.c
> @@ -294,6 +294,7 @@ static const struct of_device_id 
> pmic_glink_ucsi_of_quirks[] = {
>       { .compatible = "qcom,qcm6490-pmic-glink", .data = &quirk_sc8280xp, },
>       { .compatible = "qcom,sc8180x-pmic-glink", .data = &quirk_sc8180x, },
>       { .compatible = "qcom,sc8280xp-pmic-glink", .data = &quirk_sc8280xp, },
> +     { .compatible = "qcom,sm7325-pmic-glink", .data = &quirk_sc8280xp, },

Let's don't grow any of such lists without need. Use proper fallbacks,
if that's applicable.

Best regards,
Krzysztof


Reply via email to