Message ID | 1343140823-13754-5-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index 342b7d7..5df8b91 100644 --- a/drivers/video/backlight/pwm_bl.c +++ b/drivers/video/backlight/pwm_bl.c @@ -121,6 +121,8 @@ static int pwm_backlight_probe(struct platform_device *pdev) if (IS_ERR(pb->pwm)) { dev_err(&pdev->dev, "unable to request PWM for backlight\n"); ret = PTR_ERR(pb->pwm); + if (ret == -ENODEV) + ret = -EPROBE_DEFER; goto err_alloc; } else dev_dbg(&pdev->dev, "got pwm for backlight\n");