OSDN Git Service
Linux Build Service Account [Thu, 1 Jun 2017 08:52:55 +0000 (01:52 -0700)]
Merge "diag: Add PD buffering mode configuration support"
Linux Build Service Account [Thu, 1 Jun 2017 00:58:04 +0000 (17:58 -0700)]
Merge "usb: pd: policy_engine: Handle Get_Source_Cap properly from PE_SRC_Ready"
Linux Build Service Account [Thu, 1 Jun 2017 00:58:03 +0000 (17:58 -0700)]
Merge "usb: pd: Rerun usbpd_sm if RX queue is not empty"
Linux Build Service Account [Thu, 1 Jun 2017 00:58:02 +0000 (17:58 -0700)]
Merge "defconfig: msm: Enable CONFIG_CORESIGHT_SINK_TPIU for msmauto"
Linux Build Service Account [Thu, 1 Jun 2017 00:58:02 +0000 (17:58 -0700)]
Merge "ARM: dts: msm: Modify coresight device node for msm8996"
Linux Build Service Account [Thu, 1 Jun 2017 00:58:01 +0000 (17:58 -0700)]
Merge "power: supply: qcom: use typec mode instead of debounce done"
Linux Build Service Account [Thu, 1 Jun 2017 00:58:00 +0000 (17:58 -0700)]
Merge "ais: enable ais build for automotive"
Linux Build Service Account [Thu, 1 Jun 2017 00:57:59 +0000 (17:57 -0700)]
Merge "clk: mdss: fix bugs when parsing mdss regulators"
Linux Build Service Account [Thu, 1 Jun 2017 00:57:58 +0000 (17:57 -0700)]
Merge "msm: mdss: declare function used only within the file as static"
Linux Build Service Account [Thu, 1 Jun 2017 00:57:58 +0000 (17:57 -0700)]
Merge "drm/msm: Fix potential buffer overflow issue"
Linux Build Service Account [Thu, 1 Jun 2017 00:57:57 +0000 (17:57 -0700)]
Merge "msm: sde: Reset the iommu_attached flag after detach"
Linux Build Service Account [Thu, 1 Jun 2017 00:57:56 +0000 (17:57 -0700)]
Merge "msm: ais: cpp fix to check zero length ioctl"
Linux Build Service Account [Thu, 1 Jun 2017 00:57:55 +0000 (17:57 -0700)]
Merge "msm: camera: clean up buffers before detach"
Nicholas Troast [Wed, 12 Apr 2017 19:38:18 +0000 (12:38 -0700)]
power: supply: qcom: use typec mode instead of debounce done
When the CC state change IRQ fires on USB removal the debounce done
status may still be high, and the removal cleanup will not be called.
Use the UFP/DFP status bits to determine whether the CC lines are
present or not instead.
While at it cache the CC state so it doesn't have to be derived
everywhere it is needed. The status bits are already cached, so there
should be no functional difference.
Change-Id: Ifb89c78a032ae9d38fbc8c281518698941e131c2
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Jack Pham [Thu, 25 May 2017 01:41:53 +0000 (18:41 -0700)]
usb: pd: Rerun usbpd_sm if RX queue is not empty
Upon receiving a PD message the state machine is queued to
act on it. However, if another message is received quickly
before usbpd_sm is scheduled, it will only process the first
message. Add a check if the RX queue is not empty in order
to drain the messages properly.
Change-Id: Ie9e079a51a5740024c9a1be5ba27b3edacf9b2df
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Ray Zhang [Wed, 17 May 2017 06:34:23 +0000 (14:34 +0800)]
clk: mdss: fix bugs when parsing mdss regulators
There are two definitions of struct dss_vreg in mdss driver.
One is used during parsing regulators from device tree file,
the other is used when operating regulators. This introduces
different understanding of dss_vreg data in these two places.
Future plan is to have only one definition for these shared
data structure. Currently only make dss_vreg in sync to fix
this issue.
CRs-Fixed:
2054371
Change-Id: I4f16e1409c832432fa1df73b0ae030176b664e58
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Wei Li [Thu, 18 May 2017 02:13:47 +0000 (10:13 +0800)]
defconfig: msm: Enable CONFIG_CORESIGHT_SINK_TPIU for msmauto
Enable CONFIG_CORESIGHT_SINK_TPIU for msm-auto defconfig
Change-Id: I719071391df7871ce37d8d262f9dfa363c368027
Signed-off-by: Wei Li <weili@codeaurora.org>
Wei Li [Thu, 18 May 2017 02:11:16 +0000 (10:11 +0800)]
ARM: dts: msm: Modify coresight device node for msm8996
Modify coresight device node in dts to comply with the
new implementation of coresight driver for msm8996.
Change-Id: I10b236208a1f9e76b4d27a623c024b1f9f6a50ca
Signed-off-by: Wei Li <weili@codeaurora.org>
Linux Build Service Account [Wed, 31 May 2017 06:09:25 +0000 (23:09 -0700)]
Merge "usb: pd: Re-check for disconnect after PR swap"
Linux Build Service Account [Wed, 31 May 2017 06:09:24 +0000 (23:09 -0700)]
Merge "sched: Remove debug WARN_ONCE messages"
Linux Build Service Account [Wed, 31 May 2017 06:09:23 +0000 (23:09 -0700)]
Merge "msm: ais: Fix kernel overwrite GET_BUF_BY_IDX ioctl"
Linux Build Service Account [Wed, 31 May 2017 06:09:23 +0000 (23:09 -0700)]
Merge "ARM: dts: msm : Add neutrino DDR bandwidth voting on 8996 auto platforms"
Linux Build Service Account [Wed, 31 May 2017 06:09:22 +0000 (23:09 -0700)]
Merge "soc: qcom: sleepstate: Increase notifier priority"
Terence Ho [Fri, 26 May 2017 19:05:07 +0000 (15:05 -0400)]
msm: ais: cpp fix to check zero length ioctl
Port of ioctl validation for zero length ioctl
from camera_v2.
Change-Id: I635522f331d1e18641196ee3101c64ccc285636a
CRs-fixed:
2025367
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
Kasin Li [Wed, 22 Feb 2017 10:25:36 +0000 (18:25 +0800)]
drm/msm: Fix potential buffer overflow issue
In function submit_create, if nr_cmds or nr_bos is assigned with
negative value, the allocated buffer may be small than intended.
Using this buffer will lead to buffer overflow issue.
Change-Id: I0b61cccffd836e2dd3c859446470af4b6451b9ed
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Linux Build Service Account [Tue, 30 May 2017 23:04:33 +0000 (16:04 -0700)]
Merge "ais: always do clock set_rate after get_rate"
Linux Build Service Account [Tue, 30 May 2017 23:04:32 +0000 (16:04 -0700)]
Merge "Perf: ARM: Support 32bit armv8-pmuv3 driver"
Linux Build Service Account [Tue, 30 May 2017 23:04:32 +0000 (16:04 -0700)]
Merge "spcom: open channel return EBUSY when channel in use"
Linux Build Service Account [Tue, 30 May 2017 23:04:31 +0000 (16:04 -0700)]
Merge "f_audio_source: Use f_audiosource as first device name"
Linux Build Service Account [Tue, 30 May 2017 23:04:30 +0000 (16:04 -0700)]
Merge "diag: dci: Add validity check for dci client's process descriptor"
Linux Build Service Account [Tue, 30 May 2017 23:04:29 +0000 (16:04 -0700)]
Merge "adreno_tz: Remove unnecessary devfreq NULL check in tz_handler()"
Linux Build Service Account [Tue, 30 May 2017 23:04:28 +0000 (16:04 -0700)]
Merge "wil6210: fix wil->platform_ops.suspend failure handling"
Linux Build Service Account [Tue, 30 May 2017 23:04:27 +0000 (16:04 -0700)]
Merge "ARM: dts: msm: enable 11AD keep-radio-on-during-sleep on MSM8998"
Linux Build Service Account [Tue, 30 May 2017 23:04:26 +0000 (16:04 -0700)]
Merge "battery: don't wait for aicl rerun"
Linux Build Service Account [Tue, 30 May 2017 23:04:26 +0000 (16:04 -0700)]
Merge "smb-lib: ignore disconnects during power role swap"
Linux Build Service Account [Tue, 30 May 2017 23:04:25 +0000 (16:04 -0700)]
Merge "iommu/arm-smmu: Optimized IOMMUS property parsing"
Linux Build Service Account [Tue, 30 May 2017 23:04:24 +0000 (16:04 -0700)]
Merge "ARM: dts: msm: Add support for MSM8996pro UFS based board"
Hemant Kumar [Tue, 30 May 2017 21:52:18 +0000 (14:52 -0700)]
usb: pd: policy_engine: Handle Get_Source_Cap properly from PE_SRC_Ready
Get_Source_Cap message is responded by sending source capability message
without running sender response timer after GoodCRC is received. As a
result if sender response is timed out driver is not issuing hard reset.
Fix the issue by moving policy engine state from PE_SRC_READY to
PE_SRC_SEND_CAPABILITIES which starts sender response timer and handles
timeout.
Change-Id: Id47a4c8f989db19d28ef9c8b2c069d0b7797e17f
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Subash Abhinov Kasiviswanathan [Fri, 26 May 2017 02:17:43 +0000 (20:17 -0600)]
sched: Remove debug WARN_ONCE messages
If flow control functionality is not enabled in traffic controller
userspace modules, WARN_ONCE messages are triggered. Note that qdisc
will still be setup even if these debug messages are logged.
Remove these messages to reduce log spam.
CRs-Fixed:
2053221
Change-Id: I62a2fcb30d19579180b3df16f33953546f94511a
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Linux Build Service Account [Tue, 30 May 2017 16:01:09 +0000 (09:01 -0700)]
Merge "msm: ipa: Fix to use GFP_DMA flag"
Amir Samuelov [Sun, 28 May 2017 13:11:37 +0000 (16:11 +0300)]
spcom: open channel return EBUSY when channel in use
The char device /dev/sp_kernel is used for loading SP application and
creating new channel char device, therefore might be temporary busy.
Return EBUSY error to user system call open() so it can retry.
Change-Id: I230577fe6b03ac7afd7175f72f9a3fa80db5a524
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Abir Ghosh [Fri, 12 May 2017 03:46:34 +0000 (09:16 +0530)]
qbt1000: Fix for incorrect buffer size check and integer overflow
Fix an incorrect buffer size check which might have caused integer
overflow.
CRs-Fixed:
2045285
Change-Id: I3b5b996c7405f51b488d6cbda31c81a9a9905f23
Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
Gopikrishna Mogasati [Mon, 22 May 2017 06:35:11 +0000 (12:05 +0530)]
diag: dci: Add validity check for dci client's process descriptor
This fix checks the validity of dci client's process descriptor
before issuing a signal to it when subsystem restart is performed.
This fix avoids accessing cleaned-up process descriptor's fields.
CRs-Fixed:
2047235
Change-Id: Ic26977dc22c68f0a7007dd963c9273bba2a5dbfe
Signed-off-by: Gopikrishna Mogasati <gmogas@codeaurora.org>
Ashish Garg [Tue, 30 May 2017 05:01:12 +0000 (10:31 +0530)]
msm: mdss: declare function used only within the file as static
Fix sparse tool error which mandates that functions used only
within the file to be declared as static to allow compiler
optimizations.
Change-Id: Iba14c50730bb7ce402e4b45bc9b2c8d1fec6f3eb
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
Linux Build Service Account [Mon, 29 May 2017 17:17:24 +0000 (10:17 -0700)]
Merge "msm: mdss: Fix potential dereferencing of null pointer"
Linux Build Service Account [Mon, 29 May 2017 08:01:34 +0000 (01:01 -0700)]
Merge "Asoc: msm: sdm660: Move mbhc_hs_detect to late_probe"
Linux Build Service Account [Sun, 28 May 2017 12:12:00 +0000 (05:12 -0700)]
Merge "ASoC: msm: Add IEC_61937_FMT_UPDATE event"
Maya Erez [Sun, 28 May 2017 07:21:47 +0000 (10:21 +0300)]
wil6210: fix wil->platform_ops.suspend failure handling
Current handling of wil->platform_ops.suspend can lead to
bad cases, as wil_status_suspending was cleared before
wil_status_resuming was set and bus request voting was restored
too late.
In addition, bus voting in suspend should be done only at the end
of he suspend flow.
Change-Id: I8856d393c1796a2bd8fd5e07b233a5d61efc80c0
Signed-off-by: Maya Erez <merez@codeaurora.org>
Maya Erez [Sun, 28 May 2017 07:10:38 +0000 (10:10 +0300)]
wil6210: restore bus voting before resuming the device
Move the bus request restore to be done prior to
sending wmi_resume to the device, as the device can restore
the data path upon receiving this command.
Change-Id: Ib2442fcfea055a855bb6be65f9013bb7ad754767
Signed-off-by: Maya Erez <merez@codeaurora.org>
Linux Build Service Account [Sun, 28 May 2017 01:12:14 +0000 (18:12 -0700)]
Merge "msm: mdss: Call regulator enable/disable for both DSI controllers"
Linux Build Service Account [Sun, 28 May 2017 01:12:13 +0000 (18:12 -0700)]
Merge "msm: mdss: ensure clocks are on till pixel transfer is completed"
Linux Build Service Account [Sun, 28 May 2017 01:12:12 +0000 (18:12 -0700)]
Merge "msm: mdss: remove client from device list if failed to register"
Linux Build Service Account [Sun, 28 May 2017 01:12:11 +0000 (18:12 -0700)]
Merge "msm: ipa: fix security issues in ipa wan driver"
Linux Build Service Account [Sun, 28 May 2017 01:12:05 +0000 (18:12 -0700)]
Merge "msm: mdss: add recovery if TE is not coming from the panel"
Linux Build Service Account [Sun, 28 May 2017 01:12:04 +0000 (18:12 -0700)]
Merge "msm: mdss: Correct MDSS display wakeup time calculation"
Linux Build Service Account [Sun, 28 May 2017 01:12:03 +0000 (18:12 -0700)]
Merge "msm: mdss: remove HDMI connected flags"
Linux Build Service Account [Sun, 28 May 2017 01:12:02 +0000 (18:12 -0700)]
Merge "msm: mdss: remove wait for vsync in display commit"
Linux Build Service Account [Sun, 28 May 2017 01:12:01 +0000 (18:12 -0700)]
Merge "ARM: dts: msm: Enable dynamic fps for msm8998"
Linux Build Service Account [Sun, 28 May 2017 01:12:00 +0000 (18:12 -0700)]
Merge "msm: mdss: Disable traffic shaper in command mode"
Linux Build Service Account [Sun, 28 May 2017 01:11:58 +0000 (18:11 -0700)]
Merge "msm: mdss: Avoid dfps update till unblank is complete"
Linux Build Service Account [Sun, 28 May 2017 01:11:57 +0000 (18:11 -0700)]
Merge "msm: mdss: Update AD last strength during AD mode switch"
Linux Build Service Account [Sun, 28 May 2017 01:11:56 +0000 (18:11 -0700)]
Merge "msm: mdss: Use 64-bit math for bandwidth calculation"
Linux Build Service Account [Sun, 28 May 2017 01:11:55 +0000 (18:11 -0700)]
Merge "msm: sde: Fix potential deferencing of null pointer"
Linux Build Service Account [Sun, 28 May 2017 01:11:54 +0000 (18:11 -0700)]
Merge "msm: sde: Add check for plane_count range in SDE rotator"
Linux Build Service Account [Sun, 28 May 2017 01:11:53 +0000 (18:11 -0700)]
Merge "msm: mdss: do not apply AVMUTE for non-CTA format"
Linux Build Service Account [Sun, 28 May 2017 01:11:52 +0000 (18:11 -0700)]
Merge "msm: mdss: Correct source and destination buffer rectangles"
Linux Build Service Account [Sun, 28 May 2017 01:11:51 +0000 (18:11 -0700)]
Merge "msm: mdss: dp: fix display port crash caused by unclocked register access"
Linux Build Service Account [Sun, 28 May 2017 01:11:50 +0000 (18:11 -0700)]
Merge "ARM: dts: msm: Correct sspp vig pcc offset for MSM8998"
Linux Build Service Account [Sat, 27 May 2017 17:52:09 +0000 (10:52 -0700)]
Merge "ARM: dts: msm: update AUX channel configurations for SDM630"
Linux Build Service Account [Sat, 27 May 2017 04:11:12 +0000 (21:11 -0700)]
Merge "spmi: spmi-pmic-arb: check apid against limits before calling irq handler"
Linux Build Service Account [Sat, 27 May 2017 04:11:11 +0000 (21:11 -0700)]
Merge "power_supply: introduce PR_SWAP property"
Linux Build Service Account [Sat, 27 May 2017 04:11:04 +0000 (21:11 -0700)]
Merge "time: Remove CONFIG_TIMER_STATS"
David Collins [Fri, 12 May 2017 21:19:20 +0000 (14:19 -0700)]
spmi: spmi-pmic-arb: check apid against limits before calling irq handler
Check that the apid for an SPMI interrupt falls between the
min_apid and max_apid that can be handled by the APPS processor
before invoking the per-apid interrupt handler:
periph_interrupt().
This avoids an access violation in rare cases where the status
bit is set for an interrupt that is not owned by the APPS
processor.
Change-Id: Ib74cb4ae7be9849f0243659bb4c1435340e1e087
Signed-off-by: David Collins <collinsd@codeaurora.org>
Abhijeet Dharmapurikar [Thu, 25 May 2017 22:50:23 +0000 (15:50 -0700)]
battery: don't wait for aicl rerun
In the callback to change the usb icl, the current code waits to
rerun AICL. These waits were to ensure that AICL completes and we
can restore parallel charger once done.
However, these waits are unnecessary since we invoke code to
enable USBIN_I_VOTER for parallel charger in a workqueue. Moreover,
these wait causes compliance failures. Remove those waits.
Change-Id: Id2e3ca87e111aa415c47683a2cc365a9bece7ffb
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Abhijeet Dharmapurikar [Thu, 25 May 2017 03:52:09 +0000 (20:52 -0700)]
smb-lib: ignore disconnects during power role swap
During a power_role swap, the CC lines get disconnected for a bit.
This causes the charger driver to prematurely declare a disconnection
and it resets back to disconnected state.
Update the code to distinguish a disconnect caused during PR_SWAP vs
a real disconnect.
Avoid
- resetting the CC line to HW control
- switching DRP mode
- enabling the crude sensor workaround
- enabling APSD
during a discconnet caused by PR_SWAP
Note that PR_SWAP setting/unsetting needs to done regardless of the
connected state of the CC line. When PR_SWAP is notified to be
completed and the CC lines are still seen disconnected call the real
disconnect code.
While at it Vconn can be disabled too in the real disconnect code path.
Change-Id: I97ab7ee343c5b2bcf25797e6acbb1de37f5ba00a
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Linux Build Service Account [Fri, 26 May 2017 21:09:11 +0000 (14:09 -0700)]
Merge "ARM: dts: msm: enable partial update for dual dsi cmd mode on msm8998"
Linux Build Service Account [Fri, 26 May 2017 21:09:10 +0000 (14:09 -0700)]
Merge "media: dvb-core: Fix possible buffer overflow error"
Linux Build Service Account [Fri, 26 May 2017 21:09:09 +0000 (14:09 -0700)]
Merge "msm: kgsl: Deal with a NULL pointer when creating default pagetable"
Abhijeet Dharmapurikar [Thu, 25 May 2017 00:11:24 +0000 (17:11 -0700)]
power_supply: introduce PR_SWAP property
Introduce POWER_SUPPLY_PROP_PR_SWAP to notify if the device is in
power role swap.
Change-Id: I8d0cb3a71ec1a646b7ec37405e66cb00ddc40e0d
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Abhijeet Dharmapurikar [Thu, 25 May 2017 22:10:56 +0000 (15:10 -0700)]
smb-lib: reset SDP draw to 100mA
The driver could leave SDP's current draw to a higher value
once its removed. This is because the code to reset the
current limit needs the type to be SDP to reset it which is
not going to be the case after removal.
So reset SDPs current limit back to 100mA in the code path
for non-SDP chargers.
Change-Id: Idfb9df1b72a17f1db63265b85f6546cbb77c4018
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Utkarsh Saxena [Tue, 16 May 2017 17:11:50 +0000 (22:41 +0530)]
msm: ipa: Fix to use GFP_DMA flag
IPAv2 hardware works with 32 bit addressing,
so allocate a kernel memory using GFP_DMA flag
which is processed by IPA hardware. Added code
changes to free correct tx_pkt pointer in fail_dma_map condition.
Change-Id: I5f7005c3bf89275fd56af648ee5bf1b3d06afc38
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Linux Build Service Account [Fri, 26 May 2017 13:31:12 +0000 (06:31 -0700)]
Merge "ASoC: APR: Fix missing APR deregister from asm"
Linux Build Service Account [Fri, 26 May 2017 13:31:11 +0000 (06:31 -0700)]
Merge "ASoC: msm: qdsp6v2: Add 144k sample rate to compress driver"
Linux Build Service Account [Fri, 26 May 2017 13:31:09 +0000 (06:31 -0700)]
Merge "ASoc: msm: Support SEC_MI2S_TX Port ASM Loopback"
Linux Build Service Account [Fri, 26 May 2017 13:31:08 +0000 (06:31 -0700)]
Merge "ASoc: msm: Add dai link MultiMedia20 for custom card"
Linux Build Service Account [Fri, 26 May 2017 13:31:07 +0000 (06:31 -0700)]
Merge "usb: gadget: Fix synchronization issue between f_audio_source"
Linux Build Service Account [Fri, 26 May 2017 13:31:06 +0000 (06:31 -0700)]
Merge "msm: kgsl: Update QoS settings for A508 VBIF as recommended"
Linux Build Service Account [Fri, 26 May 2017 13:31:05 +0000 (06:31 -0700)]
Merge "ais: increase CCI timeout value to 600 msec"
Linux Build Service Account [Fri, 26 May 2017 13:31:04 +0000 (06:31 -0700)]
Merge "ARM: dts: msm: add clock-cntl-support for msm8996 ispif"
Linux Build Service Account [Fri, 26 May 2017 13:31:03 +0000 (06:31 -0700)]
Merge "ARM: dts: msm: correct voltage range values for msm8996 ADP camera"
Linux Build Service Account [Fri, 26 May 2017 13:31:02 +0000 (06:31 -0700)]
Merge "irqchip: gic(-v3): Mask PPIs during disable_percpu_irq()"
Linux Build Service Account [Fri, 26 May 2017 13:30:49 +0000 (06:30 -0700)]
Merge "ASoC: msm: Convert ALSA to ADSP format"
Linux Build Service Account [Fri, 26 May 2017 13:30:48 +0000 (06:30 -0700)]
Merge "drm/msm: profile submit_time in nanosecond resolution"
Lynus Vaz [Mon, 17 Apr 2017 12:59:58 +0000 (18:29 +0530)]
msm: kgsl: Deal with a NULL pointer when creating default pagetable
Return an appropriate error code if the default pagetable is NULL.
Change-Id: Ic88b066c40a8f840d95fd3fbc9ee9274c428b66a
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Hareesh Gundu [Fri, 26 May 2017 10:20:25 +0000 (15:50 +0530)]
adreno_tz: Remove unnecessary devfreq NULL check in tz_handler()
Caller of tz_handler() is having the NULL check for devfreq,So
we don’t need unnecessary NULL pointer check.
CRs-Fixed:
2046922
Change-Id: I42eb70ab19b4a5af193521d77bca86447a1ecdb8
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
ChandanaKishori Chiluveru [Tue, 11 Mar 2014 11:39:50 +0000 (17:09 +0530)]
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>
Udaya Bhaskara Reddy Mallavarapu [Fri, 26 May 2017 10:11:07 +0000 (15:41 +0530)]
media: dvb-core: Fix possible buffer overflow error
Added check to avoid buffer overflow error.
CR's-Fixed:
2043689
Change-Id: I38dd770e0b469dd3ccce3339d7c46957c012cbdd
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
Linux Build Service Account [Fri, 26 May 2017 07:10:43 +0000 (00:10 -0700)]
Merge "genirq: Use irq_set_affinity_locked to change irq affinity"
Linux Build Service Account [Fri, 26 May 2017 07:10:43 +0000 (00:10 -0700)]
Merge "mmc: core: retune after un-gating the clocks"
Linux Build Service Account [Fri, 26 May 2017 07:10:42 +0000 (00:10 -0700)]
Merge "icnss: Free regread buffer before allocating new one"