android_kernel_google_msm/drivers
Lan Tianyu cd0c28d228 ACPI / battery: Retry to get battery information if failed during probing
commit 75646e758a upstream.

Some machines (eg. Lenovo Z480) ECs are not stable during boot up
and causes battery driver fails to be loaded due to failure of getting
battery information from EC sometimes. After several retries, the
operation will work. This patch is to retry to get battery information 5
times if the first try fails.

[ backport to 3.14.5: removed second parameter in acpi_battery_update(),
introduced by the commit 9e50bc14a7 (ACPI /
battery: Accelerate battery resume callback)]

[naszar <naszar@ya.ru>: backport to 3.14.5]
Link: https://bugzilla.kernel.org/show_bug.cgi?id=75581
Reported-and-tested-by: naszar <naszar@ya.ru>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-17 15:39:50 -07:00
..
accessibility
acpi ACPI / battery: Retry to get battery information if failed during probing 2014-07-17 15:39:50 -07:00
amba
ata ahci: Add Device ID for HighPoint RocketRaid 642L 2014-06-16 13:45:46 -07:00
atm skb: Add inline helper for getting the skb end offset from head 2014-06-07 16:02:00 -07:00
auxdisplay
base drivercore: deferral race condition fix 2014-06-07 16:02:01 -07:00
bcma
block virtio-blk: Don't free ida when disk is in use 2014-06-11 12:04:18 -07:00
bluetooth Bluetooth: Add support for BCM20702A0 [0b05, 17cb] 2014-06-11 12:04:16 -07:00
cdrom drivers/cdrom/cdrom.c: use kzalloc() for failing hardware 2013-07-13 11:03:40 -07:00
char applicom: dereferencing NULL on error path 2014-06-30 20:01:30 -07:00
clk clk: remove notifier from list before freeing it 2013-06-27 11:27:30 -07:00
clocksource
connector proc connector: reject unprivileged listener bumps 2014-03-11 16:10:03 -07:00
cpufreq powernow-k6: reorder frequencies 2014-04-14 06:44:34 -07:00
cpuidle
crypto crypto: caam - add allocation failure handling in SPRINTFCAT macro 2014-06-07 16:02:03 -07:00
dca
devfreq
dio
dma dma: ste_dma40: don't dereference free:d descriptor 2014-03-11 16:10:02 -07:00
edac i82975x_edac: Fix dimm label initialization 2014-06-07 16:02:06 -07:00
eisa EISA/PCI: Fix bus res reference 2013-04-12 09:38:44 -07:00
firewire firewire: don't use PREPARE_DELAYED_WORK 2014-03-23 21:37:06 -07:00
firmware x86, efivars: firmware bug workarounds should be in platform code 2014-06-07 16:02:10 -07:00
gpio gpio: mxs: Allow for recursive enable_irq_wake() call 2014-05-13 14:11:31 +02:00
gpu drm/radeon: stop poisoning the GART TLB 2014-07-17 15:39:50 -07:00
hid HID: core: fix validation of report id 0 2014-06-30 20:01:31 -07:00
hsi
hv drivers: hv: switch to use mb() instead of smp_mb() 2014-06-07 16:02:10 -07:00
hwmon hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div 2014-07-17 15:39:50 -07:00
hwspinlock hwspinlock: fix __hwspin_lock_request error path 2013-04-12 09:38:46 -07:00
i2c i2c-piix4: Add AMD CZ SMBus device ID 2014-06-07 16:02:14 -07:00
ide
idle intel_idle: Don't register CPU notifier if we are not running. 2014-06-07 16:02:07 -07:00
ieee802154
infiniband IB/umad: Fix use-after-free on close 2014-07-06 18:49:19 -07:00
input Input: elantech - deal with clickpads reporting right button events 2014-07-06 18:49:19 -07:00
iommu intel-iommu: fix off-by-one in pagetable freeing 2014-02-13 11:51:08 -08:00
isdn isdnloop: several buffer overflows 2014-04-26 17:13:18 -07:00
leds drivers/leds/leds-ot200.c: fix error caused by shifted mask 2013-06-07 12:49:13 -07:00
lguest
macintosh
mca
md md: flush writes before starting a recovery. 2014-07-09 10:51:21 -07:00
media media: media-device: fix infoleak in ioctl media_enum_entities() 2014-06-07 16:02:02 -07:00
memstick
message
mfd mfd: max8997: Fix possible NULL pointer dereference on i2c_new_dummy error 2014-05-06 07:51:41 -07:00
misc MISC: hpilo, remove pci_disable_device 2014-06-07 16:02:06 -07:00
mmc mmc: mxs-mmc: fix deadlock caused by recursion loop 2014-04-14 06:44:32 -07:00
mtd mtd: pxa3xx_nand: make the driver work on big-endian systems 2014-07-09 10:51:20 -07:00
net b43: fix frequency reported on G-PHY with /new/ firmware 2014-07-09 10:51:20 -07:00
nfc
nubus
of of: Fix missing memory initialization on FDT unflattening 2013-09-26 17:15:51 -07:00
oprofile
parisc
parport parport: parport_pc: remove double PCI ID for NetMos 2014-02-06 11:05:47 -08:00
pci PCI: Fix incorrect vgaarb conditional in WARN_ON() 2014-07-06 18:49:19 -07:00
pcmcia pcmcia: at91_cf: fix gpio_get_value in at91_cf_get_status 2013-07-21 18:19:01 -07:00
pinctrl
platform msi-wmi: Fix memory leak 2014-06-07 16:02:14 -07:00
pnp
power power: max17040: Fix NULL pointer dereference when there is no platform_data 2014-02-22 10:32:46 -08:00
pps pps: Fix a use-after free bug when unregistering a source. 2014-04-14 06:44:17 -07:00
ps3
ptp
rapidio rapidio/tsi721: Fix interrupt mask when handling MSI 2014-06-07 16:02:14 -07:00
regulator regulator: max8998: Ensure enough delay time for max8998_set_voltage_buck_time_sel 2014-06-07 16:02:07 -07:00
remoteproc
rpmsg
rtc drivers/rtc/rtc-pl031.c: restore ST variant functionality 2014-06-07 16:02:14 -07:00
s390 qeth: avoid buffer overflow in snmp ioctl 2013-12-04 10:50:30 -08:00
sbus
scsi sym53c8xx_2: Set DID_REQUEUE return code when aborting squeue 2014-07-09 10:51:21 -07:00
sfi
sh
sn
spi spi: Fix crash with double message finalisation on error handling 2014-02-22 10:32:45 -08:00
ssb ssb: implement spurious tone avoidance 2013-04-25 21:19:55 -07:00
staging Staging: bcm: Add two products and remove an existing product. 2014-07-09 10:51:21 -07:00
target target: Explicitly clear ramdisk_mcp backend pages 2014-06-30 20:01:33 -07:00
tc
thermal thermal: return an error on failure to register thermal class 2013-04-12 09:38:47 -07:00
tty tty/serial: Add support for Altera serial port 2014-06-11 12:04:22 -07:00
uio Fix a few incorrectly checked [io_]remap_pfn_range() calls 2013-11-29 10:50:32 -08:00
usb USB: ftdi_sio: Add extra PID. 2014-07-17 15:39:49 -07:00
uwb
vhost vhost: validate vhost_get_vq_desc return value 2014-04-26 17:13:17 -07:00
video matroxfb: perform a dummy read of M_STATUS 2014-06-30 20:01:32 -07:00
virt
virtio virtio_balloon: don't softlockup on huge balloon changes. 2014-05-13 14:11:30 +02:00
vlynq
w1 w1: fix w1_send_slave dropping a slave id 2014-05-06 07:51:41 -07:00
watchdog watchdog: sp805: Set watchdog_device->timeout from ->set_timeout() 2014-07-06 18:49:19 -07:00
xen xen/events: mask events when changing their VCPU binding 2014-03-11 16:10:07 -07:00
zorro
Kconfig
Makefile