| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was entirely automated, using the script by Al:
PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
$(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)
to do the replacement at the end of the merge window.
Requested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Moyster <oysterized@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Add battery property voltage_now, in units of uV per power_supply standard.
healthd and Android will use this value instead of the existing batt_vol
property (which is unepxectedly in mV units).
Change-Id: Ida25d702c30507ecedba4818a84be9baf66f67e0
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| |
|
|
|
| |
Change-Id: I4daba069df9fe64f44f4ef064478e7b3a37f9f13
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| |
|
|
|
|
|
|
| |
Remove wireless power_supply entry if CONFIG_MTK_WIRELESS_CHARGER_SUPPORT
is not enabled.
Change-Id: I9cbb1d59c29b70c1adf314bf4a93e9e0c02cd431
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| |
|
|
|
|
|
|
|
| |
Battery discharging use "discharging" status instead of "not charging"
(which is normally used for charger connected but not charging due to
overtemperature or other battery health concerns).
Change-Id: I836e7c6435f7a14695975b0df8364ed4671ee9ed
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| |
|
|
| |
space in /data, doing stupid kernel file manipulation
|
| |
|
|
|
|
| |
The framework expects microvolts but we were reporting millivolts.
Change-Id: I16a38e71e7cc1d87278bed7440fcdfefae34955f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
potential buffer overflow through copy_from_user.
Solution:
Explicitly copy one byte since only need one byte data.
Bug num:28085222
Change-Id: I097d433f70267ddbaad1b08dfbdd9505467d300c
Signed-off-by: yang-cy.chen <yang-cy.chen@mediatek.com>
(cherry picked from commit 78aae38e1ec91b758317450c308a4cfd31bda3d3)
|
| |
|