mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
909c192f79
UARTDM device is used as interface to connect external devices through GPIOs. Currently those GPIOs are configured in active mode once driver's probe() is called and configured in suspend mode once its remove() is called. Probe() is called once only and remove is not called until UARTDM platform device is removed. With this current implementation, although external device (ex. Bluetooth SoC) is not operational mode, used UARTDM GPIOs are configured in active mode which is causing more leakage current and more power consumption. Hence configure those UARTDM GPIOs in active mode only when used UARTDM device is opened and under used. Configure UARTDM GPIOs back to suspend mode when UARTDM device is closed and under not used. CRs-Fixed: 422217 Change-Id: I057a2da827f37687e5ea69bdca1533568be06eab Signed-off-by: Mayank Rana <mrana@codeaurora.org> Signed-off-by: Neha Pandey <nehap@codeaurora.org> |
||
---|---|---|
.. | ||
hvc | ||
ipwireless | ||
serial | ||
vt | ||
amiserial.c | ||
bfin_jtag_comm.c | ||
cyclades.c | ||
ehv_bytechan.c | ||
isicom.c | ||
Kconfig | ||
Makefile | ||
moxa.c | ||
moxa.h | ||
mxser.c | ||
mxser.h | ||
n_gsm.c | ||
n_hdlc.c | ||
n_r3964.c | ||
n_smux.c | ||
n_tracerouter.c | ||
n_tracesink.c | ||
n_tracesink.h | ||
n_tty.c | ||
nozomi.c | ||
pty.c | ||
rocket.c | ||
rocket.h | ||
rocket_int.h | ||
smux_ctl.c | ||
smux_loopback.c | ||
smux_loopback.h | ||
smux_private.h | ||
smux_test.c | ||
synclink.c | ||
synclink_gt.c | ||
synclinkmp.c | ||
sysrq.c | ||
tty_audit.c | ||
tty_buffer.c | ||
tty_io.c | ||
tty_ioctl.c | ||
tty_ldisc.c | ||
tty_mutex.c | ||
tty_port.c |