diff options
author | Erik Gilling <konkers@android.com> | 2011-10-07 09:43:44 -0700 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2011-10-11 17:51:34 -0700 |
commit | d880b6f03c02f32d2be85b88d9bbfc469f6405db (patch) | |
tree | f4abc8454b849756313c2b9917cab408b1d2f27a /hwc | |
parent | f73e73026ee6c813522d797a71fb131d9092a255 (diff) | |
download | hardware_ti_omap4-d880b6f03c02f32d2be85b88d9bbfc469f6405db.zip hardware_ti_omap4-d880b6f03c02f32d2be85b88d9bbfc469f6405db.tar.gz hardware_ti_omap4-d880b6f03c02f32d2be85b88d9bbfc469f6405db.tar.bz2 |
hwc: shorten persist property names DO NOT MERGE
The old ones were too long and could not be set.
Change-Id: Ic0519025dcb0df223e4f87b4af67c12e94f5f486
Signed-off-by: Erik Gilling <konkers@android.com>
Diffstat (limited to 'hwc')
-rw-r--r-- | hwc/hwc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1277,15 +1277,15 @@ static void handle_hotplug(omap4_hwc_device_t *hwc_dev, int state) if (state) { /* check whether we can clone and/or dock */ char value[PROPERTY_VALUE_MAX]; - property_get("persist.hwc.hdmi.docking.enabled", value, "1"); + property_get("persist.hwc.docking.enabled", value, "1"); hwc_dev->ext |= EXT_DOCK * (atoi(value) > 0); - property_get("persist.hwc.hdmi.mirroring.enabled", value, "1"); + property_get("persist.hwc.mirroring.enabled", value, "1"); hwc_dev->ext |= EXT_MIRROR * (atoi(value) > 0); /* get cloning transformation */ - property_get("persist.hwc.hdmi.docking.transform", value, "0"); + property_get("persist.hwc.docking.transform", value, "0"); hwc_dev->ext |= (atoi(value) & EXT_TRANSFORM) << EXT_DOCK_TRANSFORM_SHIFT; - property_get("persist.hwc.hdmi.mirroring.transform", value, hwc_dev->fb_dev->base.height > hwc_dev->fb_dev->base.width ? "3" : "0"); + property_get("persist.hwc.mirroring.transform", value, hwc_dev->fb_dev->base.height > hwc_dev->fb_dev->base.width ? "3" : "0"); hwc_dev->ext |= atoi(value) & EXT_TRANSFORM; __u32 xres = (hwc_dev->ext & 1) ? hwc_dev->fb_dev->base.height : hwc_dev->fb_dev->base.width; |