Эх сурвалжийг харах

Merge tag 'backlight-fixes-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight

Pull backlight fix from Lee Jones:
 "One simple fix to invalidate GPIO non-request"

* tag 'backlight-fixes-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
  pwm-backlight: Fix bogus request for GPIO#0 when instantiated from DT
Linus Torvalds 11 жил өмнө
parent
commit
59753a8054

+ 1 - 0
drivers/video/backlight/pwm_bl.c

@@ -173,6 +173,7 @@ static int pwm_backlight_parse_dt(struct device *dev,
 		data->max_brightness--;
 		data->max_brightness--;
 	}
 	}
 
 
+	data->enable_gpio = -EINVAL;
 	return 0;
 	return 0;
 }
 }