aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-28 10:47:10 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-28 10:47:10 -0700
commit59753a805499f1ffbca4ac0a24b3dff67bf00001 (patch)
tree3ff8c0d825712352b9c6548322721e10fd09ee6c /drivers
parent2db3cff2d3ebb0f377d93c5253624927c0a35cf9 (diff)
parent937222c4dda495277a8dfbc18bf7e54fe670105c (diff)
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/backlight/pwm_bl.c1
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;
}