Commit graph

573063 commits

Author SHA1 Message Date
Hemant Kumar
9b68fb8b48 usb: gadget: configfs: Synchronizing bind/unbind using mutex lock
Synchronization is required because bind/unbind can happen in two
different contexts. For example, function unbind due to
unregister_gadget_item can race with bind which is initiated from
sysfs.

Change-Id: Iec93a9d4cb2a10b833cbba0d5256b64161147de2
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-08 09:35:15 -07:00
Hemant Kumar
dfe8b29ad1 usb: gadget: f_fs: Unlock mutex before unregistering gadget
Release the lock before unregistering gadget item.
Unregistered gadget item will result in unbind call back
to the driver which may use the same lock and resulting
in deadlock condition.

Change-Id: I2f8fba73a831d3bb711fe9310c5758221359819e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-08 09:33:47 -07:00
Hemant Kumar
2ea19f766c usb: gadget: f_fs: Add support for ipc logging
Log function entry and exit and dump relevant values
into ipc log buffer. This allows to debug various
race conditions and stability issues.

Change-Id: I15011d79fc2f054e64f8bbd1f8f5db8944b46ada
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-05 15:22:52 -07:00
Linux Build Service Account
3336c17fe4 Merge "msm: mdss: Enable dynamic FPS support for msmcobalt" 2016-08-04 08:22:41 -07:00
Linux Build Service Account
1ecb9eaec7 Merge "arm64: dma-mapping: don't clear dma ops on bypass detach" 2016-08-03 21:12:51 -07:00
Linux Build Service Account
4cffd9684d Merge "Revert "arm64: dma-mapping: Attach IOMMUs as groups"" 2016-08-03 21:12:51 -07:00
Linux Build Service Account
62fc2827ae Merge "ARM: dts: msm: Remove bogus stream ID from PCIe IOMMU" 2016-08-03 21:12:50 -07:00
Linux Build Service Account
4859f1dc3c Merge "ARM: dts: msm: change to use SW AEAD and HMAC algorithm for msmcobalt" 2016-08-03 21:12:49 -07:00
Linux Build Service Account
99295a318f Merge "soc: qcom: gladiator_erp_v2: initialize return value" 2016-08-03 21:12:48 -07:00
Linux Build Service Account
bb61ebf654 Merge "qcom-charger: qpnp-smb2: use values from hardware for default settings" 2016-08-03 21:12:47 -07:00
Linux Build Service Account
9887341b46 Merge "Revert "drivers: mfd: Return EPROBE_DEFER during codec failure"" 2016-08-03 21:12:46 -07:00
Linux Build Service Account
768b594f25 Merge "leds: qpnp-flash-v2: add support to query battery parameters" 2016-08-03 21:12:46 -07:00
Linux Build Service Account
e10d63350d Merge "clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT" 2016-08-03 21:12:45 -07:00
Linux Build Service Account
46e710a5ec Merge "soc: qcom: core_ctl: Fix possible null-pointer dereference" 2016-08-03 21:12:44 -07:00
Linux Build Service Account
58f94dcd48 Merge "defconfig: arm64: msm: Re-enable qtaguid" 2016-08-03 21:12:44 -07:00
Linux Build Service Account
4f7f48c2bb Merge "ASoC: wcd9335: Add support to enable low power mode on codec" 2016-08-03 21:12:42 -07:00
Linux Build Service Account
6e0cc26af1 Merge "msm: mdss: add support for adaptive variable refresh feature" 2016-08-03 21:12:41 -07:00
Linux Build Service Account
06e18514c2 Merge "msm: sde: Correct rotator irq handler to acknowledge irq once" 2016-08-03 21:12:40 -07:00
Linux Build Service Account
286b461b04 Merge "msm: gsi: do not register to inter ee irq" 2016-08-03 21:12:33 -07:00
Linux Build Service Account
eff7f7ed60 Merge "msm: camera_v2: Fix a return code issue in smmu mapping" 2016-08-03 21:12:32 -07:00
Runmin Wang
4308d331f4 soc: qcom: gladiator_erp_v2: initialize return value
Initialize the return value before it is used in the driver to
make sure valid return value is returned.

CRs-Fixed: 1050136
Change-Id: I3e2c524ac87d57ae33cd0f28b9c62b2a39ee79ad
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-08-03 16:43:14 -07:00
Deepak Katragadda
6aa762aa9f clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT
The set_rate requests from the display port clocks should always
make their way upto the DP PLL. Add the NO_RATE_CACHE flag to
clocks in that path in order to let this happen.

CRs-Fixed: 1050007
Change-Id: I6a848b04756b92f9b1149705176e8f4088b2a945
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-08-03 13:48:31 -07:00
Olav Haugan
b4f6cd620b soc: qcom: core_ctl: Fix possible null-pointer dereference
Ensure we don't try to call online/offline functions with a
null-pointer.

CRs-fixed: 1049957
Change-Id: I6fa8f9bde5d5fd0680b5c571ba3cc99bd1f508b1
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-08-03 11:54:26 -07:00
Bryse Flowers
5bd34ec6f4 defconfig: arm64: msm: Re-enable qtaguid
Re-enable QTAGUID so that bandwidth control is possible from
userspace now that stability issues have been resolved by
picking upstream commits.

Change-Id: If3b0be88f28da82a08dc4cc67006e8ee8ced5a72
CRs-Fixed: 1035969
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
2016-08-03 11:36:47 -07:00
Devesh Jhunjhunwala
e92b084360 leds: qpnp-flash-v2: add support to query battery parameters
Register a notifier callback with the power_supply framework
to detect when the bms power_supply is available so that
it can be used to query the battery properties required from
the fuel gauge for the maximum current query algorithm.

CRs-Fixed: 1043718
Change-Id: Icd535025a2f888e188f89841f32ac5b822f9b20d
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-08-03 11:35:18 -07:00
Linux Build Service Account
059df41e86 Merge "ASoC: wcd9335: don't check for HPHL and HPHR for mono headset" 2016-08-03 10:53:36 -07:00
Linux Build Service Account
60aacdb787 Merge "qseecom: Change format specifier %p to %pK" 2016-08-03 04:58:55 -07:00
Linux Build Service Account
59c7ae105f Merge "msm: mdss: hdmi: send info frame for HDR video streams" 2016-08-03 04:58:53 -07:00
Linux Build Service Account
39fc21c853 Merge "input: touchscreen: Change touch driver suspend code flow for XO shutdown" 2016-08-03 04:58:50 -07:00
Linux Build Service Account
e47e325359 Merge "input: touchscreen: correct probe error path for ITE tech driver" 2016-08-03 04:58:49 -07:00
Linux Build Service Account
13013e38e0 Merge "ASoC: wcd-spi: SPI driver for WCD audio codecs" 2016-08-03 04:58:47 -07:00
Linux Build Service Account
9161b760ca Merge "wcd_dsp_mgr: Add the WCD DSP manager driver" 2016-08-03 04:58:46 -07:00
Linux Build Service Account
c3a74e4be7 Merge "msm: ipa: fix IPA driver processing context delete logic" 2016-08-03 04:58:45 -07:00
Linux Build Service Account
816cd412d8 Merge "msm: ipa: disconnect sequence change for USB 2.0" 2016-08-03 04:58:44 -07:00
Linux Build Service Account
29bf3277a6 Merge "serial: msm_serial_hs: Modify IPC Logging" 2016-08-03 04:58:38 -07:00
Linux Build Service Account
46632c9ffc Merge "ARM: dts: msm: Remove TSENS QFPROM address and slope data" 2016-08-03 04:58:37 -07:00
Linux Build Service Account
17917fd705 Merge "thermal: tsens: Update TSENS property for reading efuse data" 2016-08-03 04:58:36 -07:00
Linux Build Service Account
b5327d1b34 Merge "msm: ipa: fix multiple static analysis issues" 2016-08-03 04:58:35 -07:00
Linux Build Service Account
543fbd2090 Merge "power_supply: add CHARGER_TEMP and CHARGER_TEMP_MAX properties" 2016-08-03 04:58:34 -07:00
Linux Build Service Account
61e7996093 Merge "qcom-charger: qpnp-smb2: End charge cycle while battery is OV" 2016-08-03 04:58:33 -07:00
Linux Build Service Account
bca116b37b Merge "ARM: dts: msm: Update frequency to MEM ACC level mappings for MSMCOBALT" 2016-08-03 04:58:32 -07:00
Linux Build Service Account
46f02a2de6 Merge "spmi: pmic-arb: correct support for up to 512 APIDs" 2016-08-03 04:58:31 -07:00
Linux Build Service Account
ba8f953e3f Merge "usb: gadget: f_cdev: Fix NULL ptr dereference in usb_cser_notify" 2016-08-03 04:58:30 -07:00
Linux Build Service Account
d80ef4e796 Merge "qcom-charger: add support for WiPower" 2016-08-03 04:58:29 -07:00
Linux Build Service Account
b516b45787 Merge "msm: misc: hdcp: add hdcp support for display port" 2016-08-03 04:58:28 -07:00
Linux Build Service Account
a1307ec818 Merge "soc: qcom: socinfo: Add support for APQCOBALT" 2016-08-03 04:58:27 -07:00
Linux Build Service Account
edca635472 Merge "ARM: dts: msm: Add platform info for msmcobalt" 2016-08-03 04:58:26 -07:00
Linux Build Service Account
d71d80d352 Merge "ARM: dts: msm: Update the graphics OPP property on MSMCOBALT" 2016-08-03 04:58:25 -07:00
Linux Build Service Account
a77f543cfb Merge "iio: adc: rradc: Add RRADC channels" 2016-08-03 04:58:22 -07:00
Linux Build Service Account
e4d533b780 Merge "iio: adc: rradc: Update RRADC reads and scaling" 2016-08-03 04:58:21 -07:00