summaryrefslogtreecommitdiffstats
path: root/hwc
diff options
context:
space:
mode:
authorErik Gilling <konkers@android.com>2011-10-07 09:43:44 -0700
committerErik Gilling <konkers@android.com>2011-10-11 17:51:34 -0700
commitd880b6f03c02f32d2be85b88d9bbfc469f6405db (patch)
treef4abc8454b849756313c2b9917cab408b1d2f27a /hwc
parentf73e73026ee6c813522d797a71fb131d9092a255 (diff)
downloadhardware_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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index b0e5b28..356dacd 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -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;