Subbaraman Narayanamurthy
a13fb8dcf5
power: supply: qti-battery-charger: Handle incorrect thermal levels
...
Currently, when "qcom,thermal-levels" is specified and the
values are not in descending order, an error is returned which
fails the driver probe thereby causing battery/USB power supply
not available. Same problem can happen when charger firmware
returns a lower value for BATT_CHG_CTRL_LIM_MAX than the maximum
value specified under "qcom,thermal-levels" property. Without a
battery power supply, user would not know the battery charging
status. To avoid this, just return 0 after printing an error.
This would only affect the user by disallowing a change to the
POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT property under battery
power supply.
Change-Id: I216d4d370e71ec5003adbee2600191e36a45e870
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-04-07 18:56:39 -07:00
..
accessibility
acpi
ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100
2020-01-09 10:20:02 +01:00
amba
android
ata
libata: Fix retrieving of active qcs
2020-01-09 10:19:59 +01:00
atm
auxdisplay
base
Merge "FROMGIT: BACKPORT: driver core: Add device links from fwnode only for the primary device"
2020-03-31 11:49:53 -07:00
bcma
block
net: Add Neuron Framework
2020-03-30 21:44:24 -07:00
bluetooth
Merge android-5.4.9 ( 813bf83) into msm-5.4
2020-03-07 10:01:47 -08:00
bus
Merge "mhi: cntrl: qcom: notify DRV suspend if device wake is set"
2020-03-28 12:42:22 -07:00
cdrom
cdrom: respect device capabilities during opening action
2020-01-04 19:18:25 +01:00
char
msm: adsprpc: remove DMA coherency attributes in fastrpc driver
2020-03-31 12:09:04 -07:00
clk
clk: qcom: gdsc-regulator: Remove regulator voltage level voting
2020-03-25 15:08:48 -07:00
clocksource
Merge android-5.4.9 ( 813bf83) into msm-5.4
2020-03-07 10:01:47 -08:00
connector
counter
cpufreq
Merge android-5.4.7 ( 861433ef) into msm-5.4
2020-02-21 14:12:55 -08:00
cpuidle
drivers: lpm-levels: check for per-cpu dev PM QoS
2020-03-17 11:49:06 -06:00
crypto
crypto: msm: restrict value of num_fds to QCEDEV_MAX_BUFFERS
2020-04-01 08:45:09 -07:00
dax
dca
devfreq
Merge "devfreq: update sampling window timer limit"
2020-03-23 02:28:04 -07:00
dio
dma
Merge android-5.4.9 ( 813bf83) into msm-5.4
2020-03-07 10:01:47 -08:00
dma-buf
Merge android-5.4.7 ( 861433ef) into msm-5.4
2020-02-21 14:12:55 -08:00
edac
Merge "Merge android-5.4.7 ( 861433ef) into msm-5.4"
2020-02-21 19:28:05 -08:00
eisa
extcon
BACKPORT: extcon: Mark extcon_get_edev_name() function as exported symbol
2020-03-30 15:56:27 -07:00
firewire
net: add annotations on hh->hh_len lockless accesses
2020-01-09 10:20:06 +01:00
firmware
Merge android-5.4.11 ( fde6e0c) into msm-5.4
2020-03-07 11:05:08 -08:00
fpga
fsi
gnss
gpio
gpiolib: acpi: Add honor_wakeup module-option + quirk mechanism
2020-01-14 20:08:28 +01:00
gpu
Merge "msm: kgsl: Setup UCHE_CMDQ_CONFIG register for A660"
2020-04-04 10:08:51 -07:00
greybus
hid
Merge "HID: qvr: Removing axis orientation"
2020-03-29 00:33:16 -07:00
hsi
hv
Drivers: hv: vmbus: Fix crash handler reset of Hyper-V synic
2020-01-04 19:18:21 +01:00
hwmon
hwspinlock
hwtracing
Merge "coresight: Add spin_lock_init for funnel and replicator"
2020-03-30 07:21:10 -07:00
i2c
i2c: i2c-msm-geni: Return correct error code if registration fail
2020-04-01 18:23:09 +05:30
i3c
i3c: i3c-master-msm-geni: Support for 3.4 Mhz,400 Khz
2020-02-13 11:19:39 -08:00
ide
idle
iio
Merge android-5.4.9 ( 813bf83) into msm-5.4
2020-03-07 10:01:47 -08:00
infiniband
IB/hfi1: Adjust flow PSN with the correct resync_psn
2020-01-14 20:08:26 +01:00
input
input: touchscreen: st: enable aoi_set
2020-04-02 11:06:00 +08:00
interconnect
interconnect: qcom: Don't vote using unrelated voters in sync_state
2020-03-22 23:34:24 -07:00
iommu
iommu: iommu-debug: Fix input IOVA usage in atos_write()
2020-03-31 11:17:47 -07:00
ipack
irqchip
drivers: irqchip: qcom-pdc: Add PDC IRQ chip support for shima
2020-03-26 14:58:14 +05:30
isdn
leds
Merge "leds: qti-flash: Add support for on_time and off_time parameters"
2020-03-16 20:03:19 -07:00
lightnvm
macintosh
mailbox
Merge android-5.4.8 ( de197c5) into msm-5.4
2020-03-06 19:19:20 -08:00
mcb
md
Revert "BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series"
2020-03-07 13:06:47 -08:00
media
Merge "msm: cvp: Reverse cvp gdsc and cbcr ctrl sequence"
2020-04-01 13:43:12 -07:00
memory
memstick
message
mfd
misc
qseecom: Proper handling of unmapping dmabuf
2020-03-17 16:07:57 +05:30
mmc
mmc: sdhci-msm: Avoid enable SD card power if card is removed
2020-03-19 16:33:22 -07:00
mtd
mux
net
Merge "Revert "cnss2: Add support for bus bandwidth scale""
2020-03-31 11:49:53 -07:00
nfc
NFC: Add timeout when waiting for responses in probe
2020-03-05 20:43:24 +05:30
ntb
nubus
nvdimm
libnvdimm/btt: fix variable 'rc' set but not used
2020-01-04 19:18:12 +01:00
nvme
nvme/pci: Fix read queue count
2020-01-09 10:19:43 +01:00
nvmem
Merge android-5.4.7 ( 861433ef) into msm-5.4
2020-02-21 14:12:55 -08:00
of
Merge "slimbus: Add changes to make slimbus GKI compliant"
2020-03-23 02:28:04 -07:00
opp
oprofile
parisc
parport
parport: load lowlevel driver if ports not found
2019-12-31 16:45:25 +01:00
pci
Merge "msm: pcie: fix user info in client's event callback"
2020-04-05 07:27:27 -07:00
pcmcia
perf
Merge android-5.4.11 ( fde6e0c) into msm-5.4
2020-03-07 11:05:08 -08:00
phy
Merge "phy: ufs: Update UFS PHY settings for Lahaina"
2020-04-04 01:02:04 -07:00
pinctrl
pinctrl: qcom: Add GPIO wakeup interrupt map for Shima
2020-03-26 15:01:57 +05:30
platform
msm: ipa: remove ipa and gsi from kernel
2020-03-22 10:30:54 +02:00
pnp
power
power: supply: qti-battery-charger: Handle incorrect thermal levels
2020-04-07 18:56:39 -07:00
powercap
powercap: intel_rapl: add NULL pointer check to rapl_mmio_cpu_online()
2020-01-14 20:08:18 +01:00
pps
ps3
ptp
ptp: fix the race between the release of ptp_clock and cdev
2020-01-04 19:18:48 +01:00
pwm
pwm: pwm-qti-lpg: Refactor qpnp_lpg_parse_dt() for readability
2020-01-28 15:09:03 -08:00
rapidio
ras
regulator
Merge "regulator: qpnp-lcdb: Replace revid checks with DT compatible properties"
2020-03-28 07:28:13 -07:00
remoteproc
reset
reset: Do not register resource data for missing resets
2020-01-12 12:21:21 +01:00
rpmsg
Merge android-5.4.12 ( 4bbb960) into msm-5.4
2020-03-07 16:25:51 -08:00
rtc
rtc-pm8xxx: Clear Alarm register on resume
2020-03-13 14:32:14 +05:30
s390
s390/qeth: don't return -ENOTSUPP to userspace
2020-01-12 12:21:44 +01:00
sbus
scsi
Merge "scsi: ufs-qti: Enable block layer runtime PM for well-known logical units"
2020-03-27 03:47:18 -07:00
sfi
sh
siox
slimbus
slimbus: Add changes to make slimbus GKI compliant
2020-03-13 11:36:55 +05:30
soc
Merge "haven: hh_msgq: Let clients manage the buffers for hh_msgq_send"
2020-04-05 07:27:27 -07:00
soundwire
spi
Merge android-5.4.11 ( fde6e0c) into msm-5.4
2020-03-07 11:05:08 -08:00
spmi
soc: qcom: pmic_glink: rename callback function pointer
2020-04-02 10:32:00 -07:00
ssb
staging
ion: Add support for dynamically assigned VMIDs
2020-04-02 09:53:36 -07:00
target
scsi: target: iscsi: Wait for all commands to finish before freeing a session
2020-01-04 19:18:17 +01:00
tc
tee
thermal
driver: thermal: msm_lmh_dcvs: Add a snapshot of LMH DCVS driver
2020-03-10 09:54:01 -07:00
thunderbolt
tty
Merge "tty: msm_geni: Do not place msm_geni_console_setup under __init"
2020-04-03 15:20:03 -07:00
uio
usb
Merge "usb: dwc3: Add tuning support for Gen2 Tx compliance parameters"
2020-04-05 07:27:27 -07:00
vfio
vhost
UPSTREAM: vhost, kcov: collect coverage from vhost_worker
2020-01-13 23:46:20 +00:00
video
fbdev: core: Initialise structure to prevent kernel information leak
2020-02-19 10:59:43 -08:00
virt
Merge "haven: hh_msgq: Let clients manage the buffers for hh_msgq_send"
2020-04-05 07:27:27 -07:00
virtio
visorbus
vlynq
vme
w1
watchdog
watchdog: tqmx86_wdt: Fix build error
2020-01-09 10:20:03 +01:00
xen
xen/balloon: fix ballooned page accounting without hotplug enabled
2020-01-09 10:19:51 +01:00
zorro
Kconfig
Makefile