summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-04 02:04:08 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-05 09:55:52 -0400
commit8dc0a56529f5d60bbb927049d48245b1a7989bf8 (patch)
treebf1a12dcae17094441e2b4d9a550e212d0d82006 /drivers/video
parent516034787e06834816e9a0435499690704f01c47 (diff)
parent0c534938663af8d2ca2a89bed07e8c0e624352a0 (diff)
Merge branch 'ti-dra7-dss' into 4.2/fbdev
Merge arch/ changes for TI's DRA7 SoC Display Subsystem.
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/pwm_bl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index 3a145a643e0d..6897f1c1bc73 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -274,6 +274,10 @@ static int pwm_backlight_probe(struct platform_device *pdev)
274 274
275 pb->pwm = devm_pwm_get(&pdev->dev, NULL); 275 pb->pwm = devm_pwm_get(&pdev->dev, NULL);
276 if (IS_ERR(pb->pwm)) { 276 if (IS_ERR(pb->pwm)) {
277 ret = PTR_ERR(pb->pwm);
278 if (ret == -EPROBE_DEFER)
279 goto err_alloc;
280
277 dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n"); 281 dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n");
278 pb->legacy = true; 282 pb->legacy = true;
279 pb->pwm = pwm_request(data->pwm_id, "pwm-backlight"); 283 pb->pwm = pwm_request(data->pwm_id, "pwm-backlight");