summaryrefslogtreecommitdiff
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorMin-wuk Lee <mlee@nvidia.com>2011-08-02 11:39:53 +0900
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:04 -0800
commitbd3ac96ba64f0899d18d898ad2439a6668c697e0 (patch)
treedd8d1df448b4e3e8b0088a9c759e9b1b685ebf21 /drivers/video/backlight
parent3f262a2e2eb5b0ebf6fccba596cceab207d77565 (diff)
video: tegra: dc: Set PWM pin to SFIO in default
Set PWM pin to SFIO before it is configured to DC output pin: Having too early SFIO setting for this pin makes black screen in display transition from bootloader to kenel and android since backlight can be turned off. Bug 858120 Original-Change-Id: I952aa73c50d1df57b1cedf0a5f9ffee0044048ea Reviewed-on: http://git-master/r/44304 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R89903c1f14f1b867638834bd1581d8637b079c94
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/tegra_pwm_bl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/backlight/tegra_pwm_bl.c b/drivers/video/backlight/tegra_pwm_bl.c
index 31b021cbd40c..7e7bfe76ee25 100644
--- a/drivers/video/backlight/tegra_pwm_bl.c
+++ b/drivers/video/backlight/tegra_pwm_bl.c
@@ -96,6 +96,8 @@ static int tegra_pwm_backlight_probe(struct platform_device *pdev)
tbl->dev = &pdev->dev;
tbl->which_dc = data->which_dc;
tbl->params.which_pwm = data->which_pwm;
+ tbl->params.gpio_conf_to_sfio = data->gpio_conf_to_sfio;
+ tbl->params.switch_to_sfio = data->switch_to_sfio;
tbl->params.period = data->period;
tbl->params.clk_div = data->clk_div;
tbl->params.clk_select = data->clk_select;