Commit graph

574673 commits

Author SHA1 Message Date
Abhijeet Dharmapurikar
3850d272a6 qcom-charger: handle get prop errors graciously
Currently the code passes on the error value it receives from the
individual property getters. This causes the read of uevent to fail.

Instead convert those errors to -ENODATA which the power supply
framework handles graciously and keeps the read of uevent entry from
failing. It simply skips reporting that property in uevent.

Change-Id: I997197c7c7315769e49342da7973a9f79ab54c80
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-09-12 11:08:54 -07:00
Abhijeet Dharmapurikar
819032fadd iio: rradc: Add a format string in log prints
Currently it is hard to decipher the logs coming from the RRADC driver.
Add a pr_fmt define to help with this

Change-Id: Ifd70ca3071a7305ba064de7409090ce487c56968
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-09-09 16:14:26 -07:00
Abhijeet Dharmapurikar
0d84417358 qcom-charger: smb-lib: support input limited state property
Add support to indicate if the switcher is acting in input limited state.
Switcher running in high duty cycle (HDC) mode should also be indicated as
input limited condition.
HDC is a 5uS pulse and sw reading the real time status register may not
indicate that it is active. Basically the presence of the pulses and the
interrupts indicate HDC and conversely their absence indicates no
HDC. Set a flag in the interrupt and clear it in a delayed work queue in
20mS. As long as the interrupts happen this flag will remain set,
indicating HDC.

Change-Id: Ia2e2d02240c36ba982f9e190b88b822b5f1b90f1
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-09-09 16:12:55 -07:00
Linux Build Service Account
3dc7ca5e82 Merge "soc: qcom: irq-helper: Add comments to exposed APIs" 2016-09-09 01:26:15 -07:00
Linux Build Service Account
ea31f5c965 Merge "scsi: ufs: export set_bus_vote ops" 2016-09-09 01:26:14 -07:00
Linux Build Service Account
9ff4c51df9 Merge "sched: Further re-factor HMP specific code" 2016-09-09 01:26:13 -07:00
Linux Build Service Account
696d6979fd Merge "defconfig: msm: Add MSMTRITON in defconfigs" 2016-09-09 01:26:12 -07:00
Linux Build Service Account
8363983cc2 Merge "ARM: dts: msm: Add initial device tree files for msmtriton" 2016-09-09 01:26:11 -07:00
Linux Build Service Account
981a0eae00 Merge "ASoC: qdsp6v2: Add proper dependency for audio driver" 2016-09-09 01:26:10 -07:00
Linux Build Service Account
cb8988669c Merge "usb: Add support for reset controller framework" 2016-09-09 01:26:06 -07:00
Linux Build Service Account
492410cee8 Merge "ASoC: utils: initialize dummy_codec before use" 2016-09-09 01:26:05 -07:00
Linux Build Service Account
86e077003f Merge "ASoC: msm: qdsp6v2: check if buf is null before using it" 2016-09-09 01:26:04 -07:00
Linux Build Service Account
e7affe2968 Merge "ASoC: wcd9xxx: check impedance index before use" 2016-09-09 01:26:04 -07:00
Linux Build Service Account
c175473643 Merge "ALSA: timer: check if timer->card is null before using it" 2016-09-09 01:26:03 -07:00
Linux Build Service Account
39dfe0cc0a Merge "misc: qcom: qdsp6v2: initialize config_32" 2016-09-09 01:26:02 -07:00
Linux Build Service Account
4e7c0ff371 Merge "cfg80211: Add option to report the bss entry in connect result" 2016-09-09 01:26:01 -07:00
Linux Build Service Account
5d1cb60cb4 Merge "cfg80211: Define macro to indicate support for new cfg80211 connect api" 2016-09-09 01:26:00 -07:00
Linux Build Service Account
340cc56cc2 Merge "ALSA: timer: Fix leak in events via snd_timer_user_ccallback" 2016-09-08 20:01:39 -07:00
Linux Build Service Account
3de15cf06e Merge "ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS" 2016-09-08 20:01:38 -07:00
Linux Build Service Account
006f0558f2 Merge "ARM: dts: msm: Add missing glink_pkt devices for MSMFALCON" 2016-09-08 20:01:37 -07:00
Linux Build Service Account
a34a3c9667 Merge "msm: kgsl: Improve logs for pagefaults on global buffers" 2016-09-08 20:01:34 -07:00
Linux Build Service Account
3e426b170d Merge "ASoC: wcd934x: Use minimum phase for RX interpolation filter" 2016-09-08 20:01:33 -07:00
Linux Build Service Account
f51db1aa4a Merge "ASoC: msm: qdsp6v2: check if index is out of range before use" 2016-09-08 20:01:32 -07:00
Linux Build Service Account
e8ed26ab13 Merge "arm64: Prevent msm-rtb tracing in memcpy_{from,to}io and memset_io" 2016-09-08 20:01:31 -07:00
Linux Build Service Account
d8743bd1cb Merge "mfd: wcd9xxx: Reduce irqsoff latency" 2016-09-08 20:01:31 -07:00
Linux Build Service Account
7f68d3879d Merge "ARM: dts: msm: Add support for apqcobalt v2.1" 2016-09-08 20:01:30 -07:00
Linux Build Service Account
9821c77ff5 Merge "tty : msm_serial: Remove the rtb logs of msm_serial write and read" 2016-09-08 20:01:29 -07:00
Linux Build Service Account
1ef2d1b896 Merge "ARM: dts: msm: add VDD_GFX CPR aging allowed register for msmcobalt" 2016-09-08 20:01:27 -07:00
Linux Build Service Account
3099c2e54c Merge "regulator: cpr3-regulator: add support for custom aging allowed register" 2016-09-08 20:01:27 -07:00
Linux Build Service Account
e2d20a3a8a Merge "ARM: dts: msm: update VDD_GFX CPR step quot values for msmcobalt" 2016-09-08 20:01:25 -07:00
Linux Build Service Account
31a28f0268 Merge "ARM: dts: msm: enable audio over Display Port on msmcobalt" 2016-09-08 20:01:23 -07:00
Linux Build Service Account
8afddead2b Merge "ARM: dts: msm: rename codec child node of MSM external display" 2016-09-08 20:01:22 -07:00
Linux Build Service Account
239b184189 Merge "msm: mdss: dsi: fix panel minimum refresh rate configuration" 2016-09-08 20:01:22 -07:00
Linux Build Service Account
66ae3335db Merge "ARM: dts: msm: increase VDD_APC CPR LowSVS/SVS ceiling for MSMCOBALTV2" 2016-09-08 20:01:20 -07:00
Linux Build Service Account
77fb90f365 Merge "regulator: cprh-kbss-regulator: add per-cluster fuse reference voltages" 2016-09-08 20:01:19 -07:00
Linux Build Service Account
a6bcb64461 Merge "ARM: dts: msm: add VDD_APC CPR speed-bin 1 configuration for msmcobalt v2" 2016-09-08 20:01:19 -07:00
Linux Build Service Account
e4f9ffebbc Merge "regulator: cprh-kbss-regulator: increase number of supported fuse combos" 2016-09-08 20:01:18 -07:00
Linux Build Service Account
432a74c7c5 Merge "ARM: dts: msm: Update VDD_APC floor and ceiling voltages for msmcobalt v2" 2016-09-08 20:01:17 -07:00
Linux Build Service Account
3861fb51b8 Merge "ARM: dts: msm: define perf cluster speed-bin 1 OSM LUT for msmcobalt" 2016-09-08 20:01:17 -07:00
Linux Build Service Account
66d38bc53c Merge "usb: gadget: gsi: Fix handling of MSG PACKET FILTER" 2016-09-08 20:01:16 -07:00
Linux Build Service Account
cab620ee7a Merge "msm: mdss: Update MDP memory retention sequence for msmcobalt" 2016-09-08 20:01:15 -07:00
Runmin Wang
e7549a9c25 soc: qcom: irq-helper: Add comments to exposed APIs
Add comments and might_sleep() to warn that irq_blacklist_on/off
APIs should not be called in atomic context.

CRs-Fixed: 1063719
Change-Id: Ie6858243a666aeb21cc486208b9dd8221e9ad674
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-08 16:49:41 -07:00
Venkat Gopalakrishnan
d3ee503093 scsi: ufs: export set_bus_vote ops
The bus bandwidth vote is required to be done before the bus clocks
are enabled, hence separate the bus voting from vendor specific
setup clocks that is called after the ufs core clocks are enabled.

Change-Id: I5148ec4ce55a00f5130a60d0c088b3f0218d2261
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-08 16:01:20 -07:00
Syed Rameez Mustafa
591ce8ed84 sched: Further re-factor HMP specific code
The structures being moved around are only used for trace events
defined under CONFIG_SCHED_HMP. Move code to hmp.c to reflect
the same.

Change-Id: Ib959355264405ab779b24948f111a2ca61d367de
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2016-09-08 15:44:52 -07:00
Kangjie Lu
cb93febf41 ALSA: timer: Fix leak in events via snd_timer_user_ccallback
The stack object “r1” has a total size of 32 bytes. Its field
“event” and “val” both contain 4 bytes padding. These 8 bytes
padding bytes are sent to user without being initialized.

b/28980217
Git-commit: 9a47e9cff994f37f7f0dbd9ae23740d0f64f9fe6
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
(cherry picked from commit 9a47e9cff994f37f7f0dbd9ae23740d0f64f9fe6)
Change-Id: I12949efac2aba669d302908704005fb94ba7efd7
2016-09-08 14:46:47 -07:00
Kangjie Lu
3388724cb9 ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt
The stack object “r1” has a total size of 32 bytes. Its field
“event” and “val” both contain 4 bytes padding. These 8 bytes
padding bytes are sent to user without being initialized.

b/28980217
Git-commit: e4ec8cc8039a7063e24204299b462bd1383184a5
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
(cherry picked from commit e4ec8cc8039a7063e24204299b462bd1383184a5)
Change-Id: I53aa15632e941199010aae670cefb65c8fd56833
2016-09-08 14:42:16 -07:00
Kangjie Lu
33618e19f9 ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS
The stack object “tread” has a total size of 32 bytes. Its field
“event” and “val” both contain 4 bytes padding. These 8 bytes
padding bytes are sent to user without being initialized.

b/28980557
Git-commit: cec8f96e49d9be372fdb0c3836dcf31ec71e457e
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
(cherry picked from commit cec8f96e49d9be372fdb0c3836dcf31ec71e457e)
Change-Id: I3b42ee147fd0883696f9783f0a38d5bef888a10a
2016-09-08 14:38:08 -07:00
Linux Build Service Account
5964f2d700 Merge "ASoC: wsa881x: Add a mixer control to control gain" 2016-09-08 14:32:14 -07:00
Linux Build Service Account
332a191f05 Merge "ASoC: msm: add 384KHz playback support" 2016-09-08 14:32:12 -07:00
Linux Build Service Account
c837b886b9 Merge "ARM: dts: msm: Add initial support for msmcobalt QRD VR1 board" 2016-09-08 14:32:11 -07:00