Re: [PATCH 2/6] pwm: sprd: Improve the pwm backlight control function
From: Krzysztof Kozlowski
Date: Mon Jan 22 2024 - 12:30:26 EST
On 22/01/2024 09:17, Wenhua Lin wrote:
> +
> static int sprd_pwm_probe(struct platform_device *pdev)
> {
> struct sprd_pwm_chip *spc;
> @@ -288,6 +310,10 @@ static int sprd_pwm_probe(struct platform_device *pdev)
> if (ret)
> return ret;
>
> + ret = sprd_pwm_get_mod(pdev);
> + if (ret)
> + dev_err(&pdev->dev, "get pwm mod failed! Use default setting\n");
That's not an error. dev_info. Assuming that it will even stay (once you
send proper version for proper review).
Best regards,
Krzysztof