diff options
author | Jingoo Han <jg1.han@samsung.com> | 2011-12-26 06:29:31 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-02-10 18:02:42 -0500 |
commit | 23747145070779682ccdf948b786adaf88b2a89e (patch) | |
tree | b1dd45f03536a64c95a38c82b93688cbaca80c96 /arch/arm/plat-samsung/dev-backlight.c | |
parent | 561ab530bf81c86df1c88d6c8b75718ef1d3b8a6 (diff) |
ARM: SAMSUNG: Add a callback 'notify_after' for PWM backlight control
The callback 'notify_after' was added to struct platform_pwm_backlight_data
provided by PWM backlight driver. Therefore, this patch adds a callback
'notify_after' which can be called after pwm_enable, pwm_disable and
pwm_config.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/dev-backlight.c')
-rw-r--r-- | arch/arm/plat-samsung/dev-backlight.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/dev-backlight.c b/arch/arm/plat-samsung/dev-backlight.c index a976c023b286..2254920a02cf 100644 --- a/arch/arm/plat-samsung/dev-backlight.c +++ b/arch/arm/plat-samsung/dev-backlight.c | |||
@@ -115,6 +115,8 @@ void samsung_bl_set(struct samsung_bl_gpio_info *gpio_info, | |||
115 | samsung_bl_data->init = bl_data->init; | 115 | samsung_bl_data->init = bl_data->init; |
116 | if (bl_data->notify) | 116 | if (bl_data->notify) |
117 | samsung_bl_data->notify = bl_data->notify; | 117 | samsung_bl_data->notify = bl_data->notify; |
118 | if (bl_data->notify_after) | ||
119 | samsung_bl_data->notify_after = bl_data->notify_after; | ||
118 | if (bl_data->exit) | 120 | if (bl_data->exit) |
119 | samsung_bl_data->exit = bl_data->exit; | 121 | samsung_bl_data->exit = bl_data->exit; |
120 | if (bl_data->check_fb) | 122 | if (bl_data->check_fb) |