sw bezel is only controlled by vconf.
Change-Id: I44a75eed17ccd3cd5115bce810cd15a017bfdf9f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit
b8151da7cb2cc94a21b99aaebfe1ba9ac31e603b)
if (bezel_type == BEZEL_HARD)
return bezel_dev->set_state(BEZEL_TURNON);
- else if (bezel_type == BEZEL_SOFT)
- return bezel_dev->set_sw_state(BEZEL_TURNON);
- else
- return -ENOTSUP;
+
+ return 0;
}
static int bezel_stop(enum device_flags flags)
if (bezel_type == BEZEL_HARD) {
state = bezel_wakeup_control();
return bezel_dev->set_state(state);
- } else if (bezel_type == BEZEL_SOFT)
- return bezel_dev->set_sw_state(BEZEL_TURNOFF);
- else
- return -ENOTSUP;
+ }
+
+ return 0;
}
/*