OSDN Git Service
Manaf Meethalavalappu Pallikunhi [Tue, 5 Dec 2017 01:53:04 +0000 (07:23 +0530)]
drivers: lmh_dcvsh: Defer cluster cooling register until core comes online
If all cores for a cluster are offline or not brought up during
lmh dcvsh probe, it fails to register cooling device and it leads
to probe failure. If later these cores come online, lmh dcvsh doesn't
re-probe it and eventually that cluster lmh dcvsh is broken.
Register for cpu online notification and register cpu cooling device
in cpu online notification callback context. It makes sure that
both lmh dcvsh probing and cooling device register are proper.
Change-Id: Id5345a578aab920d12bd9d9e2ccf1d5059582de9
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Linux Build Service Account [Mon, 4 Dec 2017 14:17:02 +0000 (06:17 -0800)]
Merge "ARM: dts: msm: Remove adv7533 power commands for 600p DSI panel"
Linux Build Service Account [Mon, 4 Dec 2017 14:17:01 +0000 (06:17 -0800)]
Merge "usb: gadget: f_fs: Fix kernel panic if use_os_string not set"
Linux Build Service Account [Mon, 4 Dec 2017 14:17:00 +0000 (06:17 -0800)]
Merge "msm: ADSPRPC: validate context pointer with magic number"
Linux Build Service Account [Sun, 3 Dec 2017 17:32:21 +0000 (09:32 -0800)]
Merge "qseecom: fix a race condition when TA is blocked"
Linux Build Service Account [Sun, 3 Dec 2017 17:32:20 +0000 (09:32 -0800)]
Merge "qseecom: fix a common lib loading issue"
Zhen Kong [Mon, 13 Nov 2017 23:13:31 +0000 (15:13 -0800)]
qseecom: fix a race condition when TA is blocked
When the thread processing blocked TA wakes up when listener
becames available, the listener may be unavailable again before
this thread grabs the global mutex, so make change to add a
while loop to check if listener available after wake up and hold
mutex.
Change-Id: Ib386faca7a44325142da1dc54e19a99f3173ec86
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Zhen Kong [Wed, 18 Oct 2017 17:27:20 +0000 (10:27 -0700)]
qseecom: fix a common lib loading issue
cmnlib_ion_handle is only used within qseecom_load_commonlib_image()
and is not a shared resource, so change it to a local variable and
avoid potential reuse or free by another thread in case of reentrancy.
Change-Id: I9e1f25cd024a19a7379b7409bdc6521bcd8bcae5
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Zhen Kong [Fri, 13 Oct 2017 21:01:48 +0000 (14:01 -0700)]
qseecom: fix an app unloading issue when the app is blocked
Reset app_crash flag to make sure app entry is not freed when
there is another client still being blocked on the same app.
Change-Id: I25d236abc97e60fe8a4abbbc8c086291c764a9c1
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Linux Build Service Account [Fri, 1 Dec 2017 21:29:13 +0000 (13:29 -0800)]
Merge "msm: kgsl: Capture all the shader data in the snapshot"
Lynus Vaz [Wed, 22 Nov 2017 05:55:04 +0000 (11:25 +0530)]
msm: kgsl: Capture all the shader data in the snapshot
The shader block size is in dwords. Make sure we copy out all the
bytes that we want.
Change-Id: I42364350ee6314b4830ed11cc06e61d854122543
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Signed-off-by: Archana Obannagari <aobann@codeaurora.org>
Linux Build Service Account [Fri, 1 Dec 2017 12:19:57 +0000 (04:19 -0800)]
Merge "msm: ipa3: Remove ep_delay on disconnect sequence"
Linux Build Service Account [Fri, 1 Dec 2017 12:19:56 +0000 (04:19 -0800)]
Merge "cnss2: Add a debug option to skip any kind of recovery"
Daocai [Fri, 1 Dec 2017 07:06:52 +0000 (15:06 +0800)]
ARM: dts: msm: Remove adv7533 power commands for 600p DSI panel
Remove "qcom,mdss-dsi-on-command" and "mdss-dsi-off command"
commands for boot up performance optimization.
The two commands are for native DSI panels without a bridge
chip. However,AUTO platform has adv7533 bridge chip,which
is controlled by I2C instead of the above two commands.
In addition,the two command will cause extra wait for about
210ms in dsi_panel_tx_cmd_set() for dsi_display_enbale().
This make drmAtomicCommit() in libdrm a little slower,
so total boot time will be longer.
Change-Id: I1c95456b1734acb05cf2f38bb4c95441343bffab
Signed-off-by: Daocai <daocai@codeaurora.org>
Mohammed Javid [Wed, 22 Nov 2017 14:10:38 +0000 (19:40 +0530)]
msm: ipa3: Remove ep_delay on disconnect sequence
When device in Low Power Mode, usb driver invokes
suspend and then disconnect upon cable disconnection.
Remove the ep_delay if it is set.
Change-Id: I203d57d70e8c189a2f3bc7f7830392fac98cfbb1
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Yue Ma [Wed, 22 Nov 2017 22:12:52 +0000 (14:12 -0800)]
cnss2: Add a debug option to skip any kind of recovery
After firmware crashes, driver will try to recover the device by
resetting hardware and reloading firmware. Add a debug quirk option
to skip the recovery so that WLAN device can still remain the status
after crash for live debugging.
Change-Id: Ifff26df9ae5ab4c25573ca84e29eed73a79c6525
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Linux Build Service Account [Thu, 30 Nov 2017 22:02:16 +0000 (14:02 -0800)]
Merge "sound: usb: Update QMI indication message"
Linux Build Service Account [Thu, 30 Nov 2017 22:02:16 +0000 (14:02 -0800)]
Merge "usb: host: xhci: Remove helper API retuning dcba dma address"
Linux Build Service Account [Thu, 30 Nov 2017 22:02:15 +0000 (14:02 -0800)]
Merge "soc: qcom: glink_pkt: Modify conversion of CTS/DTR signals"
Linux Build Service Account [Thu, 30 Nov 2017 22:02:14 +0000 (14:02 -0800)]
Merge "msm: kgsl: Fix the process sysfs refcounting"
Linux Build Service Account [Thu, 30 Nov 2017 22:02:13 +0000 (14:02 -0800)]
Merge "scsi: ufs: Add counter for hibernate and gear switch"
Lynus Vaz [Wed, 15 Nov 2017 14:25:01 +0000 (19:55 +0530)]
msm: kgsl: Fix the process sysfs refcounting
The kobject used for the process's sysfs node did not provide a
release function, so it did not correctly implement the refcounting.
Add a release callback so that we keep the process structure valid
as long as the kobject is alive.
Change-Id: I6db54092ed29ecd4d2f157188a4f1a5fc70f1edf
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Dhoat Harpal [Mon, 20 Nov 2017 11:06:27 +0000 (16:36 +0530)]
soc: qcom: glink_pkt: Modify conversion of CTS/DTR signals
SMD_DTR_SIG and SMD_CTS_SIG signals are converted to TIOCM_DTR
and TIOCM_RTS respectively, for client notification. This is
incorrect conversion.
SMD_DTR_SIG and SMD_CTS_SIG signals conversion is modified to
TIOCM_DSR and TIOCM_CTS respectively.
CRs-Fixed:
2148119
Change-Id: I7cd61afe4639fc7c5fd993f4047fad3ff04c53a7
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Linux Build Service Account [Thu, 30 Nov 2017 11:23:40 +0000 (03:23 -0800)]
Merge "ARM: dts: msm: Pass usb controller id for 8996"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:39 +0000 (03:23 -0800)]
Merge "smb1351: Fix parallel ICL configuration"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:38 +0000 (03:23 -0800)]
Merge "battery: fix ordering of ICL/FCC configuration"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:37 +0000 (03:23 -0800)]
Merge "leds: qpnp-wled: Fix the check to disable AUTO_PFM"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:36 +0000 (03:23 -0800)]
Merge "ath10k: Add phyerr event changes for HL1.0"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:44 +0000 (15:24 -0800)]
Merge "mmc: core: Return card status if sdr104_wa is not present"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:43 +0000 (15:24 -0800)]
Merge "ARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:42 +0000 (15:24 -0800)]
Merge "ath10k: fix the potential buffer overflow in wow offload"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:41 +0000 (15:24 -0800)]
Merge "icnss: Add dev to all export APIs in ICNSS"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:40 +0000 (15:24 -0800)]
Merge "msm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:37 +0000 (15:24 -0800)]
Merge "defconfig: msm: Enable CONFIG_ESOC_DRV for msm8996 auto"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:12 +0000 (04:26 -0800)]
Merge "DRM: SDE: Update the hdmi bridge to handle HPD clock"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:11 +0000 (04:26 -0800)]
Merge "defconfig: msm: Enable USB audio QMI service driver for 8996"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:09 +0000 (04:26 -0800)]
Merge "mmc: core: add power on to SD card detect"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:08 +0000 (04:26 -0800)]
Merge "msm: ipa: dynamic memory leak fix"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:06 +0000 (04:26 -0800)]
Merge "sound: usb: Provide controller number in QMI response"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:05 +0000 (04:26 -0800)]
Merge "usb: core: Add helper function to return controller id"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:04 +0000 (04:26 -0800)]
Merge "icnss: Remove MSA0 permission only when modem is crashed"
Rahul Sharma [Fri, 10 Nov 2017 11:21:04 +0000 (16:51 +0530)]
ARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP
Automotive use case requirement is to have HDMI display as non-pluggable.
This change also set a custom mode as 1920x1080p@60Hz.
Change-Id: Ic2baec180d51dc6a91eaf72c44df1da066f04d2e
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Sarada Prasanna Garnayak [Tue, 28 Nov 2017 06:54:39 +0000 (12:24 +0530)]
ath10k: fix the potential buffer overflow in wow offload
Update the arp and ns tuple for arp-ns tlv cmd and pass
the size of IP address and wlan net dev name during mem
copy and comparison.
CRs-Fixed:
2149966
Change-Id: I9457af4578c70f876c3a58e3d8c655dcaa476e07
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Sarada Prasanna Garnayak [Mon, 16 Oct 2017 10:11:25 +0000 (15:41 +0530)]
icnss: Add dev to all export APIs in ICNSS
Add device pointer in all export symbol to
add support for numerous WLAN module.
CRs-Fixed:
2138446
Change-Id: I981155c165e4e5c2794b778afe647f8a588dd860
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Trishansh Bhardwaj [Wed, 22 Nov 2017 09:25:32 +0000 (14:55 +0530)]
msm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c
If same event is unsubscribed before v4l2_event_subscribe returned,
Then function v4l2_event_subscribe have possibility use-after-free.
Serialize msm_subscribe_event and msm_unsubscribe_event to
prevent parallel invocation of v4l2_event_subscribe and
v4l2_event_unsubscribe.
Change-Id: Ia28cfb9d46550d58221f157337a1468f524753e3
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Rakesh Pillai [Fri, 24 Nov 2017 11:36:44 +0000 (17:06 +0530)]
ath10k: Add phyerr event changes for HL1.0
HL1.0 firmware sends phyerr_mask in the phyerr
event, which needs to be used to determine the
type of phyerr.
Add the phyerr_mask parameters for HL1.0 in the
phyerr wmi event.
CRs-Fixed:
2150566
Change-Id: Ib2d5286fbf45d41229e68d817d65714d18811a4e
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Sayali Lokhande [Wed, 20 Sep 2017 14:09:18 +0000 (19:39 +0530)]
scsi: ufs: Add counter for hibernate and gear switch
This change adds few more debugfs entries to capture
statistics regarding the ufs driver.
This information include:
1. ufs hibernate exit count
2. ufs power mode change count
usage : cat /sys/kernel/debug/ufshcd0/show_hba
Change-Id: I75ac694c1f7e98d527392372300d16ad911ac512
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Linux Build Service Account [Tue, 28 Nov 2017 21:00:57 +0000 (13:00 -0800)]
Merge "platform: msm: Set USB speed to SUPER before calling notifier"
Michael Adisumarta [Thu, 2 Nov 2017 01:16:48 +0000 (18:16 -0700)]
msm: ipa: dynamic memory leak fix
This is a fix for dynamic memory leak seen with incorrectly
allocating memory of a different size than with intended
size.
Change-Id: I821442ee6728ea90ceab7644e194f4e06369333a
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Linux Build Service Account [Tue, 28 Nov 2017 11:16:33 +0000 (03:16 -0800)]
Merge "defconfig: msm: Enable SPI slave framework on 8996 Auto"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:29 +0000 (03:16 -0800)]
Merge "defconfig: msm: enable memory hotplug support"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:28 +0000 (03:16 -0800)]
Merge "arm64: Honor limits set by bootloader"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:27 +0000 (03:16 -0800)]
Merge "arm64: Add "remove" probe driver for memory hot-remove"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:26 +0000 (03:16 -0800)]
Merge "arm64: Hot-remove implementation for arm64"
c_mtharu [Fri, 24 Nov 2017 13:54:44 +0000 (19:24 +0530)]
msm: ADSPRPC: validate context pointer with magic number
Validate context pointer using magic number instead of searching
through context list. It removes the usage of spin lock in interrupt
handler for avoiding deadlock and reducing latency.
Change-Id: I2492a7984a8d6545618a9cfb7a2d239d03ddd5a2
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Dilip Kota [Tue, 28 Nov 2017 04:31:48 +0000 (10:01 +0530)]
defconfig: msm: Enable SPI slave framework on 8996 Auto
Enable SPI slave protocol handlers.
Change-Id: I9458d6445db5f78a08cff9796d4f2e7afbc2909c
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Linux Build Service Account [Tue, 28 Nov 2017 00:06:01 +0000 (16:06 -0800)]
Merge "msm: sps: Restore ipc log destroy commands"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:59 +0000 (16:05 -0800)]
Merge "defconfig: msm: Compile ADV7481 as a module"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:58 +0000 (16:05 -0800)]
Merge "msm: ADSPRPC: Change SSC VMID from 5 to 38"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:57 +0000 (16:05 -0800)]
Merge "ARM: dts: msm: Remove useless DSI panel commands for adv7533"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:55 +0000 (16:05 -0800)]
Merge "mmc: card: Requeue the request if it fails during issuing"
Camus Wong [Thu, 23 Nov 2017 23:03:21 +0000 (18:03 -0500)]
DRM: SDE: Update the hdmi bridge to handle HPD clock
For non-pluggable display, it should not enable HPD. Instead, the
bridge should handle all the clocks for HDMI. Also the scrambler
should be activated after the HDMI has power on the clock.
Change-Id: I9162a49b8f314de4d30b0d82c7867a639ddf05a6
Signed-off-by: Camus Wong <camusw@codeaurora.org>
Rahul Sharma [Mon, 30 Oct 2017 18:42:53 +0000 (00:12 +0530)]
defconfig: msm: Compile ADV7481 as a module
Compile ADV7481 as a module, as part of kernel modularization
requirement.
Change-Id: Ie3e9669d05646503de6ddd3468cbd6da4ee4eae4
Suggested-by: Resmi Rajendran <resmir@qti.qualcomm.com>
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Linux Build Service Account [Mon, 27 Nov 2017 12:36:18 +0000 (04:36 -0800)]
Merge "msm: mdss: hdmi: reset hdmi max supported TMDS clock"
Linux Build Service Account [Mon, 27 Nov 2017 12:36:17 +0000 (04:36 -0800)]
Merge "mmc: core: Return the error if command queue request fails"
Linux Build Service Account [Mon, 27 Nov 2017 12:36:15 +0000 (04:36 -0800)]
Merge "ARM: dts: msm: add psci for msm8996 auto virtual platform"
Ashay Jaiswal [Mon, 27 Nov 2017 07:11:02 +0000 (12:41 +0530)]
smb1351: Fix parallel ICL configuration
In slave configuration "POWER_SUPPLY_PROP_CURRENT_MAX" fails to
suspend USB input path for 0/2mA current request. Fix this by
separately handling 0/2mA request to suspend input.
CRs-Fixed:
2148379
Change-Id: Id9b7887c4f2f924d9e4c8484947d74baa96eb8a3
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Ashay Jaiswal [Thu, 16 Nov 2017 08:32:20 +0000 (14:02 +0530)]
battery: fix ordering of ICL/FCC configuration
Current parallel design has fixed order of configuring
ICL/FCC between main and parallel charger, this could
lead to a situation where total(main + parallel) ICL/FCC
goes beyond maximum configured value.
Fix this by dynamic ordering of ICL/FCC between main and
parallel based on AICL change.
CRs-Fixed:
2148379
Change-Id: Ia1ff7093d1de9205ce8072760c80ba0a58638462
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Daocai [Thu, 23 Nov 2017 07:27:21 +0000 (15:27 +0800)]
ARM: dts: msm: Remove useless DSI panel commands for adv7533
Remove "qcom,mdss-dsi-on-command" and "mdss-dsi-off command"
commands for boot up performance optimization.
The two commands are for native DSI panels without a bridge
chip. However,AUTO platform has adv7533 bridge chip,which
is controlled by I2C instead of the above two commands.
In addition,the two command will cause extra wait for about
210ms in dsi_panel_tx_cmd_set() for dsi_display_enbale().
This make drmAtomicCommit() in libdrm a little slower,
so total boot time will be longer.
Change-Id: I848d189d4055b5626eadd809fc5da7c9c4ecbcce
Signed-off-by: Daocai <daocai@codeaurora.org>
Narender Ankam [Tue, 17 Oct 2017 08:01:11 +0000 (13:31 +0530)]
msm: mdss: hdmi: reset hdmi max supported TMDS clock
In current HDMI driver, SVDs and DTDs derived from EDID
of a DS HDMI sink are checked for supportness based
on previous connection's max TMDS clock.
Always reset the max TMDS clock supported by source
before reading EDID from DS HDMI device.
Change-Id: If5f58562f186634b1ed066fdebfc9fa6b55c6e8a
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
Yimin Peng [Tue, 14 Nov 2017 13:10:02 +0000 (21:10 +0800)]
ARM: dts: msm: add psci for msm8996 auto virtual platform
Hypervisor supports psci-1.0 not 0.1 and new function IDs
have been defined in psci driver.
Change-Id: Id257dd264f9ffc812879997c0b227e53f84c86a2
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
Linux Build Service Account [Mon, 27 Nov 2017 03:28:15 +0000 (19:28 -0800)]
Merge "spi: spi_qsd: Add slave support for QUP core"
Linux Build Service Account [Mon, 27 Nov 2017 03:28:14 +0000 (19:28 -0800)]
Merge "ARM: msm: dts: Enable support for audio tunneling mode for msm8996"
Linux Build Service Account [Sun, 26 Nov 2017 09:55:10 +0000 (01:55 -0800)]
Merge "ath10k: add support for wowlan offload for wcn3990 WLAN module"
Linux Build Service Account [Sun, 26 Nov 2017 09:55:07 +0000 (01:55 -0800)]
Merge "cfg80211: Make pre-CAC results valid only for ETSI domain"
Linux Build Service Account [Sun, 26 Nov 2017 00:21:07 +0000 (16:21 -0800)]
Merge "msm: camera: Prevent use-after-free in v4l2_event_subscribe."
Linux Build Service Account [Sat, 25 Nov 2017 05:53:39 +0000 (21:53 -0800)]
Merge "Bluetooth: Fix for checking proper user-supplied buffers"
Linux Build Service Account [Sat, 25 Nov 2017 05:53:38 +0000 (21:53 -0800)]
Merge "Bluetooth - Fix for checking proper user-supplied buffers"
Linux Build Service Account [Fri, 24 Nov 2017 20:07:41 +0000 (12:07 -0800)]
Merge "msm: msm_bus: Add mutex lock for floor vote data"
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 15:55:05 +0000 (21:25 +0530)]
mmc: card: Requeue the request if it fails during issuing
In the cmdq request issuing path, cq driver invokes ICE driver calls
to get the configuration for encrypting/decrypting the data requests.
The ice driver in-turn makes calls to secure world (TZ) which can
process only single task at a time. If TZ is busy in servicing
something else when ICE driver invokes it, ICE driver would return
-EBUSY to cmdq driver.
The requests which failed due to ice error are neither issued to h/w
nor errored out, so resulting in filesystem corruptions.
We must re-queue the requests which failed with -EBUSY error, so that
it will be re-issued again as very next request.
Change-Id: I4557a5c3aca8dd53740e48e516e6011787df50d8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Balvinder Singh [Mon, 6 Nov 2017 06:20:46 +0000 (11:50 +0530)]
Bluetooth - Fix for checking proper user-supplied buffers
During patch download of devices, size validations & zero alloc
the buffers to ensure values passed are in range
CRs-fixed:
2084692
Change-Id: Ie1cd76fe68766d6d12d7262202e48c18ebe42274
Signed-off-by: Balvinder Singh <bpsingh@codeaurora.org>
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 14:43:45 +0000 (20:13 +0530)]
mmc: core: Return the error if command queue request fails
command-queue request may fail during preparation/issuing in some
cases. In case if it fails, the error code needs to be propagated back
to the function which initiated the request so that the request can be
handled appropriately.
Change-Id: Ia6946c14f0c106fb30bd70ca5c9e600c516fdf55
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 14:21:46 +0000 (19:51 +0530)]
mmc: cmdq_hci: Remove runtime PM vote if request issuing fails
Remove the runtime PM vote if command-queue request processing fails.
Otherwise, in case command-queue request preparation fails,
the runtime PM votes go out of sync and sdhc platform device suspend
might get blocked.
Change-Id: Ibe95e1653f7558a7994b606922a1625b429d57f6
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Balvinder Singh [Mon, 6 Nov 2017 06:25:30 +0000 (11:55 +0530)]
Bluetooth: Fix for checking proper user-supplied buffers
During patch download procedure, size validation and zero
allocation of buffers are done to ensure values passed are
in permissible range
CRs-fixed:
2082452
Change-Id: I1c14e30f14af0279258efd0eadd8ab8ed6d8cf55
Signed-off-by: Balvinder Singh <bpsingh@codeaurora.org>
Hemant Kumar [Fri, 6 Oct 2017 18:25:25 +0000 (11:25 -0700)]
sound: usb: Update QMI indication message
Following updates required to sync with remote client QMI
messaging for audio service:-
1) Add usb core id in disconnect indication to support multi
instance of remote client. Update uaudio_disconnect_cb() to send
usb core id.
3) Add USB_AUDIO_DEVICE_SPEED_SUPER_PLUS_V01 in to usb device
speed enum list. Update get_speed_info() API to reflect the same.
Change-Id: I2501c037e519454a4f84ec3c1ab9e423eb771544
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 22 Sep 2017 21:03:22 +0000 (14:03 -0700)]
usb: host: xhci: Remove helper API retuning dcba dma address
Since dcba dma address is not required by class driver
therefore remove the API definition.
Change-Id: I6851729f1ad4254bbfaf179755d9afa7870e8e01
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 22 Sep 2017 20:56:04 +0000 (13:56 -0700)]
usb: core: Remove helper APIs returning dcba dma address
Since dcba dma address is not required by class driver
therefore remove the API definitions.
Change-Id: I2623cf3bf406ca0d47ea2549b5163d9e9b7351a1
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 22 Sep 2017 19:34:52 +0000 (12:34 -0700)]
sound: usb: Pass device speed instead of dcba information
dcba information passed to remote entity was only used to
get device speed. Instead of mapping dcba memory simply pass
enumerated device speed information in QMI response.
Change-Id: I5246b18ec1c5bfa1940b506d1de461f78eb14c6a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Ajay Agarwal [Thu, 23 Nov 2017 05:33:06 +0000 (11:03 +0530)]
ARM: dts: msm: Pass usb controller id for 8996
This allows to uniquely identify the multiple controllers
on MSM8996.
Change-Id: I99296cee886119e59af67e2d1a3983a28015b720
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 00:34:05 +0000 (17:34 -0700)]
sound: usb: Provide controller number in QMI response
In order to support tunnel mode on multiple usb conttollers
qmi service needs to provide the controller number in
enable audio stream QMI response so that remote entity
programs appropriate usb controller to initiate data transfer
with USB audio device. Also, update QMI response message data
structure with optional speed_info.
Change-Id: I1d4968c19601a3984bf60e7754a6d88473540166
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 00:01:00 +0000 (17:01 -0700)]
usb: core: Add helper function to return controller id
Function provides controller id used by a remote entity
to identify which usb controller to program to initiate
data transfer.
Change-Id: Ied396f34496104c139a7910ee86844c124e6803f
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 23:59:33 +0000 (16:59 -0700)]
usb: host: xhci: Add helper function to return controller id
Function provides controller id used by a remote entity
to identify which usb controller to program to initiate
data transfer.
Change-Id: Ie700363c1a4a19aeb6b51305c97298f3b4d6e387
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 23:40:58 +0000 (16:40 -0700)]
usb: host: Add support for usb core indexing
Unique usb core id is used to differentiate between
different usb controllers.
Change-Id: Ibd886f704e7ecedfbf035b8e5adea2852ddf25bf
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Jishnu Prakash [Fri, 24 Nov 2017 07:50:19 +0000 (13:20 +0530)]
msm: sps: Restore ipc log destroy commands
Changes got reverted accidentally with commit
e498154c0976
("msm: sps: Update debug message format specifier")
restoring them again.
Change-Id: I6c2c7b4d636131341139d89ff4d59b608df5da9b
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Linux Build Service Account [Fri, 24 Nov 2017 07:38:13 +0000 (23:38 -0800)]
Merge "msm: wlan: Update regulatory database"
c_mtharu [Fri, 24 Nov 2017 06:47:28 +0000 (12:17 +0530)]
msm: ADSPRPC: Change SSC VMID from 5 to 38
Change Dest VM of SSC from 5 to 38 and it can be unmapped to
HLOS through hyp_assign.
Change-Id: I8e4ace8e9722d4fa79b553ad6b8d29353954f8c5
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Sarada Prasanna Garnayak [Thu, 23 Nov 2017 11:04:45 +0000 (16:34 +0530)]
ath10k: add support for wowlan offload for wcn3990 WLAN module
Define data structure and callback for the ARP and NS offload
for the ath10k wcn3990 WLAN module. Configure the ARP offload
parameter and enable ARP offload request flag for each vdev
if the vdev in station mode.
This feature adds support to wakeup the device from sleep state
through wowlan event if the ARP request pattern matched with
pattern configured by WLAN module during wow suspend.
CRs-Fixed:
2146265
Change-Id: I54c3491493ad46a7db2adbf71ae1668cf9a88e51
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Odelu Kukatla [Thu, 23 Nov 2017 17:06:03 +0000 (22:36 +0530)]
msm: msm_bus: Add mutex lock for floor vote data
Floor vote data needs to be protected with mutex lock to
avoid double free of memory due to race condtion.
Change-Id: Ifaa01a14d273ccba6b9463aff3a41c0038b05f06
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Ajay Agarwal [Thu, 23 Nov 2017 16:30:00 +0000 (22:00 +0530)]
platform: msm: Set USB speed to SUPER before calling notifier
Currently we set the USB speed to SUPER after calling vbus/id
notifier callback. As a part of cable connect, is USB speed
is set to SUPER after connect resume_work is called, then we
do not initialise the SSPHY. So clocks are OFF.
But as part of cable disconnect, if USB speed is set to SUPER
before disconnect resume_work is called, then we try to
suspend SSPHY resulting in unclocked access.
Fix this by mandatorily setting USB speed to SUPER before
queuing VBUS/ID notifier.
Change-Id: Iac4411ddafd87909b1b26c9b5a8eb354a073d268
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Linux Build Service Account [Thu, 23 Nov 2017 22:01:19 +0000 (14:01 -0800)]
Merge "msm: vidc: Fix memory leak issue"