Do not clear get stow mode state after touch resume done,and get stow
state variable totally controled by FWK,in case when AOD wake up and
sleep touch could not enter stow mode in pocket.
Change-Id: I4d6617bc6757c1e7d7a646fe2cf5e21eea7b22a6
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2729447
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
As request from RF team, wifi connect wifi5G network, when a vowifi call,
pull up the gpio34, so that the wifi5G antenna switches to back antenna.
Change-Id: Idfb47161179db62d2e1a77a26be70d5b54d3bfe9
Signed-off-by: Zhiye Li <lizy90@motorola.com>
Reviewed-on: https://gerrit.mot.com/2728933
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xianglong Liao <liaoxl@motorola.com>
Reviewed-by: Yue Sun <sunyue5@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
Clear vbus present if wireless charger present, as there is no
wired usb charger connected.
Change-Id: I2020465813d65b4c359070de90ba70f63867b18c
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2728335
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Fix unlocking with a fingerprint when the screen is off,
ghost spots appear on the screen.
No call to tp_gesture_recovery in tp_resume_recovery.
Change-Id: I8f026cfb1faf35b11596dee7bd8ad561d5819cb1
Signed-off-by: LiZidong <tnlizd@motorola.com>
Reviewed-on: https://gerrit.mot.com/2720737
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Submit-Approved: Jira Key
first_check check was not reported,resulting in the default value of cc1
uppdata aw35616.c in kernel
Change-Id: I34704b5c08a38c2819327e9d0fb7b38901097140
Reviewed-on: https://gerrit.mot.com/2727374
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The device auto reboot after shutdown command receive in factory.
The correct seq is sending shutdown command-->unplug the USB cable
-->device shutdown. Optimize the shutdown sequence for factory.
Change-Id: I7f66f932c782192776b36d96457548d49947bd18
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2717398
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Lei Chen <chenl18@motorola.com>
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Receive sensor stowed mode state from FWK and then touch disable
all gestures, only worked on touch gesture suspend state.
Change-Id: If61d10f0a877179390cf2468c202d87d9f7a816e
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2701216
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Why:
Fix nova touch not work on user build
How:
Turn off the debug code that uses the API prohibited by GKI build
Change-Id: I194b2415b4e44f478e5f2d6afe81bc622c79a6d5
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2709605
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
When the current is negative, it is in the charging state,
and when the current is positive, it is in the discharging state.
Change-Id: Idddf799e947c4094de08c6c641f0125ec6fe6a5e
Reviewed-on: https://gerrit.mot.com/2707665
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Alison Venancio <alisonv@motorola.com>
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
WHY:The value of batt_curr is negated, resulting in the wrong state of batt_status.
HOW:Delete the negation operation when assigning a value to batt_curr.
Change-Id: I66a23033f40e3583893613fad44b11bd796a2824
Reviewed-on: https://gerrit.mot.com/2703113
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
The latest GKI has added a vendor hook to tune ra size in
do_sync_mmap_readahead(). Add a new handler to limit the
mmap readahead size.
Change-Id: I609fd3e4583b37561faea5e108ca9e664f956098
Reviewed-on: https://gerrit.mot.com/2676241
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Chuanchun Zhu <zhucc2@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2676239
Remove the kprobe & lookup symbol
make sure the android oem data is the one previous saved
Change-Id: I7f63dd8fe5033fc9e1bcbf6182122da9fe7e7e85
Signed-off-by: William Liu <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/2658819
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2676238
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Check the pointers first
Before access them later
Change-Id: I96291862ad7990d3a6b57c4b864959ffe13f932b
Signed-off-by: William Liu <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/2646282
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2676237
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Moto mmap fault driver is to change the filemap_fault function
So the mmap read ahead pages limit could be reduced to configurable
value
Test result shows that the io read overhead could be substantially
reduced.
Change-Id: I6cc592c4b2c211d0bab404cd22f8bd0248fc2f17
Signed-off-by: William Liu <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/2633006
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2676236
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
When using USB DCP charging,
the power is 10W.
So the power_watt is 10000mW.
Change-Id: Id5421ffc6733eb620fc9fd0e3bce16751ef0245b
Signed-off-by: Guocheng Wang <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2697637
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
CQA factory test need to get the charging power,
so we add it.
The unit of chg_watt is W.
Change-Id: I861d8fcfa5bedcbd992a6943b6b4d885beba65fb
Signed-off-by: Guocheng Wang <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2696461
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key