diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-28 21:47:10 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-28 21:47:10 +0400 |
commit | 59753a805499f1ffbca4ac0a24b3dff67bf00001 (patch) | |
tree | 3ff8c0d825712352b9c6548322721e10fd09ee6c | |
parent | 2db3cff2d3ebb0f377d93c5253624927c0a35cf9 (diff) | |
parent | 937222c4dda495277a8dfbc18bf7e54fe670105c (diff) | |
download | linux-59753a805499f1ffbca4ac0a24b3dff67bf00001.tar.xz |
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
-rw-r--r-- | drivers/video/backlight/pwm_bl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index d7a3d13e72ec..b85983e97f0a 100644 --- a/drivers/video/backlight/pwm_bl.c +++ b/drivers/video/backlight/pwm_bl.c @@ -173,6 +173,7 @@ static int pwm_backlight_parse_dt(struct device *dev, data->max_brightness--; } + data->enable_gpio = -EINVAL; return 0; } |