diff options
author | Sanjay Singh Rawat <srawat@nvidia.com> | 2012-06-26 16:16:56 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-07-03 15:03:03 -0700 |
commit | 0712b0d16ee2ec690202d8309b0848885901bcfb (patch) | |
tree | 755d9ca73e29f5d508ddf7c8d8bb8e751edce3d1 /arch/arm/mach-tegra/board-whistler-panel.c | |
parent | 5b1fcd1355485d347b3f15807561500ec06224ca (diff) |
video: backlight: use gpio request and free apis for backlight pin
- Gpio freeing function does disabling job.
- If backlight pin is an sfio, we have to claim the gpio. So that we can use
the gpio api's to configure it as sfio.
bug 984440
bug 858120
Change-Id: I583bf4a486d2d9a6d9b78ee459b1962379eafd3b
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/109564
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-panel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-panel.c b/arch/arm/mach-tegra/board-whistler-panel.c index df8b2859e81c..430c094f6182 100644 --- a/arch/arm/mach-tegra/board-whistler-panel.c +++ b/arch/arm/mach-tegra/board-whistler-panel.c @@ -59,7 +59,6 @@ static struct platform_tegra_pwm_backlight_data whistler_disp1_backlight_data = .max_brightness = 256, .dft_brightness = 77, .gpio_conf_to_sfio = TEGRA_GPIO_PW1, - .switch_to_sfio = &tegra_gpio_disable, .period = 0x1F, .clk_div = 3, .clk_select = 2, |