[PATCH] i915: Don't register backlight when max PWM value is unknown

2012-09-15 Thread Grant Likely
When a backlight isn't connected to the i915 it doesn't make any sense to register the backlight device, but the driver currently tries to limp along using a max brightness value of 1. Instead, this patch makes it so that if the maximum PWM value cannot be determined, then the backlight will not be

[PATCH] i915: Don't register backlight when max PWM value is unknown

2012-09-14 Thread Daniel Vetter
On Fri, Sep 14, 2012 at 04:34:28PM +0100, Grant Likely wrote: > When a backlight isn't connected to the i915 it doesn't make any sense > to register the backlight device, but the driver currently tries to limp > along using a max brightness value of 1. Instead, this patch makes it so > that if the

[PATCH] i915: Don't register backlight when max PWM value is unknown

2012-09-14 Thread Grant Likely
When a backlight isn't connected to the i915 it doesn't make any sense to register the backlight device, but the driver currently tries to limp along using a max brightness value of 1. Instead, this patch makes it so that if the maximum PWM value cannot be determined, then the backlight will not be

Re: [PATCH] i915: Don't register backlight when max PWM value is unknown

2012-09-14 Thread Daniel Vetter
On Fri, Sep 14, 2012 at 04:34:28PM +0100, Grant Likely wrote: > When a backlight isn't connected to the i915 it doesn't make any sense > to register the backlight device, but the driver currently tries to limp > along using a max brightness value of 1. Instead, this patch makes it so > that if the