aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2017-05-22 17:51:44 -0700
committerJonathan Cameron <[email protected]>2017-06-03 08:43:15 +0100
commit3f9f3a1a1451f4f389423dae4b5404b1abd48025 (patch)
treec5113dcf248346c03ef2c6b0966617cf51f56a32 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent57d14635f976404fac165047389ff0dbe83bcd5b (diff)
iio: adc: cpcap: Fix default register values and battery temperature
Looking at the register dumps from Android kernel on droid 4, I noticed the values with the mainline kernel don't match. Let's fix this by initializing the ADC registers to what Android does. For getting correct values from the battery thermistor, we need to toggle the CPCAP_BIT_THERMBIAS_EN when measuring battery temperature to get correct battery temperatures. And looks like we also need to wait a little bit before reading the battery temperature as otherwise the results are inaccurate. Cc: Marcel Partap <[email protected]> Cc: Michael Scott <[email protected]> Cc: Sebastian Reichel <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions