diff options
author | jy910.yun <jy910.yun@samsung.com> | 2014-11-07 21:40:20 +0900 |
---|---|---|
committer | jy910.yun <jy910.yun@samsung.com> | 2014-11-07 21:40:20 +0900 |
commit | 032b4a930fed8679f32f7300b5fe747c5ca4e6b0 (patch) | |
tree | 825b14caad25f4ae765e14d0b0ade262e404a0d8 /devices/display.c | |
parent | 91a0e7fb142585031152df4117675404e804eb00 (diff) | |
download | libdevice-node-032b4a930fed8679f32f7300b5fe747c5ca4e6b0.tar.gz libdevice-node-032b4a930fed8679f32f7300b5fe747c5ca4e6b0.tar.bz2 libdevice-node-032b4a930fed8679f32f7300b5fe747c5ca4e6b0.zip |
device-node: Add get_max_brightness and set_irled functionssubmit/tizen/20141112.104554
Support to get the max brightness value of display
Support to set command to irled
Change-Id: I789e608a56371acc973fff2038eb4efa8ff5cbd1
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Diffstat (limited to 'devices/display.c')
-rw-r--r-- | devices/display.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devices/display.c b/devices/display.c index 2900699..cba2217 100644 --- a/devices/display.c +++ b/devices/display.c @@ -51,6 +51,8 @@ static int display_get_prop(int __prop, int *val) case PROP_DISPLAY_DISPLAY_COUNT: *val = disp_cnt; return 0; + case PROP_DISPLAY_MAX_BRIGHTNESS: + return PLUGIN_GET(backlight_max_brightness)(index, val); case PROP_DISPLAY_BRIGHTNESS: /* check power saving */ vconf_get_bool(VCONFKEY_SETAPPL_PWRSV_SYSMODE_STATUS, &ps_stat); |