ChandanaKishori Chiluveru
a510e932e4
usb: gadget: Fix synchronization issue between f_audio_source
...
Race is happening when both audio_pcm_close() and audio_send()
executes in parallel.
When the PCM session is closed, the substream attribute of the
audio_dev structure is set to NULL in audio_pcm_close().
As there is no synchronization protection for the audio_dev subtream
attributes in audio_send(), it is causing NULL pointer dereference.
Hence fixing the issue by adding proper synchronization protection
for the audio_dev subtream attributes in audio_send().
CRs-Fixed: 613498
Change-Id: Id9ab0d4e347b8bb2f551f9033829e541bdcaf0e8
Signed-off-by: ChandanaKishori Chiluveru <cchilu@codeaurora.org>
Signed-off-by: Tarun Gupta <tarung@codeaurora.org>
2017-05-26 03:29:37 -07:00
Linux Build Service Account
c5685ec0f3
Merge "msm: kgsl: Return mementry only if pending_free is not set"
2017-05-25 15:52:15 -07:00
Linux Build Service Account
b8b329161d
Merge "leds: leds-qpnp: Fix uninitialized variable use"
2017-05-25 15:52:14 -07:00
Linux Build Service Account
06666778bf
Merge "btfm: Don't program multi channel registers in wcn3990 for SCO"
2017-05-25 15:52:07 -07:00
Linux Build Service Account
8a1c7fb05a
Merge "power: qpnp-fg-gen3: update default empty voltage to 2.85 V"
2017-05-25 15:52:06 -07:00
Linux Build Service Account
93f01bb760
Merge "msm: kgsl: Don't delete uninitialized preemption timer"
2017-05-25 15:52:05 -07:00
Linux Build Service Account
2371551ec1
Merge "msm_11ad: fix device-tree property name"
2017-05-25 15:52:04 -07:00
Linux Build Service Account
f485573f5a
Merge "net: rmnet_data: Unset logical end points in bridge mode"
2017-05-25 15:52:04 -07:00
Linux Build Service Account
17f988f036
Merge "soc: qcom: smp2p: Fix simultaneous access of global loopback data"
2017-05-25 15:52:03 -07:00
Linux Build Service Account
20dfa6c9f7
Merge "qcom: common_log: make dump registration as async"
2017-05-25 15:52:02 -07:00
Linux Build Service Account
73f6909d54
Merge "spmi-pmic-arb: add support to dispatch interrupt based on IRQ status"
2017-05-25 15:52:01 -07:00
Linux Build Service Account
e2a2179d4e
Merge "spcom: check error from ion_import_dma_buf()"
2017-05-25 15:52:00 -07:00
Linux Build Service Account
09173073cf
Merge "spcom: silent error messages until spss link is up"
2017-05-25 15:51:59 -07:00
Linux Build Service Account
97b8c1c0f8
Merge "usb: pdphy: Widen voltage range setting for VDD regulator"
2017-05-25 15:51:58 -07:00
Linux Build Service Account
fafa9a46eb
Merge "usb : dwc3: Initialize kernel stack variables properly"
2017-05-25 15:51:57 -07:00
Linux Build Service Account
f95c3de80f
Merge "ASoC: msm: qdsp6v2: Add IEC61937 compressed HDMI pass-though"
2017-05-25 15:51:57 -07:00
Linux Build Service Account
bed872f1a6
Merge "ASoC: msm: qdsp6v2: Extend pass through mode per stream"
2017-05-25 15:51:56 -07:00
Linux Build Service Account
2c0e368fdc
Merge "msm: ipa: Fix post init in workqueue context"
2017-05-25 15:51:55 -07:00
Linux Build Service Account
88e1c449dc
Merge "spcom: increment channel reference count after successful glink_open()"
2017-05-25 15:51:54 -07:00
Linux Build Service Account
eadd4e3181
Merge "USB: f_qc_rndis: Prevent use-after-free for _rndis_qc"
2017-05-25 15:51:53 -07:00
Linux Build Service Account
7217c5a9c1
Merge "ARM: dts: msm: Add iris support on sdm630"
2017-05-25 15:51:52 -07:00
Linux Build Service Account
b133f848d1
Merge "mmc: block: Disable clock scaling during shutdown"
2017-05-25 15:51:51 -07:00
Linux Build Service Account
8a4a2650e0
Merge "drm/sde: only set split registers for DSI interfaces"
2017-05-25 15:51:50 -07:00
Linux Build Service Account
0c3a4a97b1
Merge "SDM660: ADSPRPC: Fix for NULL pointer dereference"
2017-05-25 15:51:49 -07:00
Linux Build Service Account
599b4011d6
Merge "drm/msm: wait fence complete before flip"
2017-05-25 15:51:48 -07:00
Linux Build Service Account
768b5c4389
Merge "soc: qcom: Fix failure prints in rpm stats and log"
2017-05-25 15:51:47 -07:00
Linux Build Service Account
207cc877c1
Merge "policy_engine: Don't allow MODE change if no active connection"
2017-05-25 15:51:46 -07:00
Linux Build Service Account
136473547f
Merge "power: qpnp-smb2: remove workaround for USBIN supplied VCONN"
2017-05-25 15:51:45 -07:00
Linux Build Service Account
8d140659e0
Merge "msm: ais: Security fixes for ispif and cpp"
2017-05-25 15:51:44 -07:00
Linux Build Service Account
3b0f0430c6
Merge "ARM: dts: msm: Add USB2 device node for SDM660"
2017-05-25 15:51:41 -07:00
Linux Build Service Account
c1a961ce2f
Merge "coresight-remote-etm: Adds missing lock to avoid race condition"
2017-05-25 15:51:40 -07:00
Linux Build Service Account
3964778c1a
Merge "Merge remote-tracking branch 'origin/tmp-285c137' into msm-4.4"
2017-05-25 15:51:39 -07:00
Linux Build Service Account
e1cafe626d
Merge "USB: composite: Advertise USB version as 0x200 if max speed is HS"
2017-05-25 15:51:38 -07:00
Linux Build Service Account
bb0e94e12d
Merge "ARM: dts: msm: Update ref-clk node for sdm660"
2017-05-25 15:51:37 -07:00
Linux Build Service Account
e40889b85d
Merge "usb: phy-msm-qusb-v2: Add support for reference counting of regulators"
2017-05-25 15:51:35 -07:00
Linux Build Service Account
23dec079ae
Merge "ASoC: msm-cpe: Fix range checking in function fw_name_store"
2017-05-25 15:51:34 -07:00
Linux Build Service Account
61bb06dc05
Merge "input: synaptics_dsx: fix mutex init"
2017-05-25 15:51:33 -07:00
Linux Build Service Account
03144dd756
Merge "soc: qcom: msm_perf: Initialize Array elements"
2017-05-25 15:51:32 -07:00
Linux Build Service Account
4b9efedb4a
Merge "ARM: dts: msm: Add flash handle to camera1 device on SDM660"
2017-05-25 15:51:32 -07:00
Linux Build Service Account
c63ad80553
Merge "drm/msm: deal with arbitrary # of cmd buffers"
2017-05-25 15:51:31 -07:00
Linux Build Service Account
8d009ce8ad
Merge "msm: camera: isp : Fix race condition in close sequence"
2017-05-25 15:51:30 -07:00
Linux Build Service Account
09db61a0c0
Merge "ARM: dts: msm: Add entry for video throttle clock on sdm660 and sdm630"
2017-05-25 15:51:29 -07:00
Linux Build Service Account
89e9361ac2
Merge "firmware_class: Avoid pending list corruption"
2017-05-25 15:51:28 -07:00
Linux Build Service Account
12d9944bfa
Merge "ASoC: msm: qdsp6v2: Fix voice call and record SSR test"
2017-05-25 15:51:27 -07:00
Linux Build Service Account
8a0aed96a2
Merge "usb: policy_engine: Close pd phy after exceeding SINK hard reset count"
2017-05-25 15:51:26 -07:00
Deepak Kumar
0e42ef24c9
msm: kgsl: Return mementry only if pending_free is not set
...
Return mementry from kgsl_sharedmem_find only if pending_free
is not set for that mementry. This is necessary to avoid use
of a mementry after it is already marked for free.
Change-Id: I23111e9c82a88ccbda2ab259074c38d91f9ff5cb
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-05-23 02:56:36 -07:00
Ankit Sharma
6a701d05a1
leds: leds-qpnp: Fix uninitialized variable use
...
Fix use of uninitialized variable.
CRs-Fixed: 2050786
Change-Id: I3e0ac770df89347b878c9fe6eeaf5e4d8d53537c
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
2017-05-23 10:44:36 +05:30
Wenbin Wang
bd15fce5df
msm: kgsl: Don't delete uninitialized preemption timer
...
If we delete uninitialized timer on CONFIG_DEBUG_OBJECTS
disabled build del_timer_sync() will block for ever. For
all A3xx targets preemption timer is not initialized, but
dispatcher fault handler is trying to delete the
uninitialized preemption timer. Fix this issue by adding
a preemption check before we delete it.
CRs-Fixed: 2023690
Change-Id: I2c51a0b2286b82bf2eb5ee68d923dd9585f07f00
Signed-off-by: Wenbin Wang <wwenbin@codeaurora.org>
Signed-off-by: Abhilash Kumar <krabhi@codeaurora.org>
2017-05-22 21:57:50 -07:00
Subbaraman Narayanamurthy
3d1963e351
power: qpnp-fg-gen3: update default empty voltage to 2.85 V
...
Based on the hardware recommendation, update the default empty
voltage from 2.8 V to 2.85 V. This is to prevent undervolting
in low temperatures (e.g. -20 C) when battery voltage drops below
2.8 V but the battery SOC may not reach 0% as the charger is
configured to issue GP_FAULT2 when battery voltage goes below
2.8 V. This helps in shutting down graciously.
Change-Id: Ifc68b825541c09d985d890ee7200ff8e0af2ba0f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-05-22 20:42:09 -07:00
Hamad Kadmany
b7f36ff2fc
msm_11ad: fix device-tree property name
...
Change keep_radio_on_during_sleep DT property to follow
the naming convention.
Change-Id: I6450cfdfe38a4cf5b1b1ccb40b5506a34aeb076a
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-05-22 13:33:54 +03:00