# Re: \[PATCH 2/4\] pwm\_backlight: Validate dft\_brightness in main probe function

- From: Thierry Reding \<hidden\>
- Date: 2013-01-31 12:58:57 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/01/3994061
- Thread: https://ratatoskr.run/linux-fbdev/2013/01/3988271/t.md

```text
On Thu, Jan 31, 2013 at 01:38:18PM +0100, Peter Ujfalusi wrote:
> Hi Thierry,
> 
> On 01/22/2013 02:39 PM, Peter Ujfalusi wrote:
> > Move the dft_brightness validity check from the DT parsing function to the
> > main probe. In this way we can validate it in case we are booting with or
> > without DT.
> 
> Based on the discussion the rest of the series is going to be dropped, but
> what about this single patch?
> I think it is still addresses a valid issue, which is that in non DT boot we
> do not check if the dft_brightness is within valid range.
> 
> I can resend this patch alone since it is not going to apply on mainline as it is.

No that's okay. I've gone ahead and applied in manually.

Thanks,
Thierry
```

## Attachments

- [(unnamed)](https://ratatoskr.run/linux-fbdev/2013/01/3994061/attachment/0) (application/pgp-signature, 836 bytes)
