summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-21ASoC: msm: qdsp6v2: initialize L/R/C gain for both mono/stereo playbackyidongh
When there's a dynamic channel change from mono to stereo, volume burst is observed because center channel gain for stereo is not initialized. Initialize center channel gain for both mono and stereo playback. CRs-Fixed: 2095081 Change-Id: Ib92236f55b1f171603be956d00c8fcab7c4169d3 Signed-off-by: Yidong Huang <yidongh@codeaurora.org>
2017-09-18Merge "wil6210: refresh FW capabilities during interface up"Linux Build Service Account
2017-09-15Merge "usb: gadget: f_fs: Do not free IPC log buffer when free instance"Linux Build Service Account
2017-09-15Merge "ath10k: synchronize WLAN ON/OFF cmd during system suspend"Linux Build Service Account
2017-09-15Merge "cfg80211: Include length of kek in rekey data"Linux Build Service Account
2017-09-15Merge "nl80211: Update ERP info using NL80211_CMD_UPDATE_CONNECT_PARAMS"Linux Build Service Account
2017-09-15Merge "msm: kgsl: Do not crash on context detach timeout failure"Linux Build Service Account
2017-09-15cfg80211: Include length of kek in rekey dataVidyullatha Kanchanapally
With support for new AKM suites (example FILS-SHA256), the KEK length can now be more than NL80211_KEK_LEN and the KCK length can be zero. Add changes in cfg80211 to specify the length of KEK, and make KCK optional. Make NL80211_REKEY_DATA_KEK as NLA_BINARY to enforce a maximum length check. Also add macro CFG80211_REKEY_DATA_KEK_LEN to indicate support for including KEK length in rekey data. CRs-Fixed: 2087759 Change-Id: Ica8dbb8614e0a9c3905e125b4a5254e43821984e Signed-off-by: Vidyullatha Kanchanapally <vidyullatha@codeaurora.org>
2017-09-15ath10k: synchronize WLAN ON/OFF cmd during system suspendSarada Prasanna Garnayak
During system suspend/resume or WLAN interface up/down by the network subsystem the ath10k SNOC WLAN driver configure WLAN enable/disable cmd with the WLAN firmware over QMI interface. The WLAN enable/disable cmd configuration with the WLAN firmware during system suspend is preventing the system suspend. Register PM event notifier for the ath10k SNOC platform driver and synchronize the WLAN HIF power down/up configuration, WLAN enable/disable cmd configuration with WLAN firmware according to the system power state. CRs-Fixed: 2110607 Change-Id: I5eeda967ae11c21ab5164c18b3e0a3bf668c916a Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-09-15Merge "msm: kgsl: Fixing an uninitialized variable in _gpuobj_map_useraddr()"Linux Build Service Account
2017-09-15nl80211: Update ERP info using NL80211_CMD_UPDATE_CONNECT_PARAMSVidyullatha Kanchanapally
Use NL80211_CMD_UPDATE_CONNECT_PARAMS to update new ERP information, Association IEs and the Authentication type to driver / firmware which will be used in subsequent roamings. CRs-Fixed: 2087764 Change-Id: Ic296b66a39b9ceb8de992a9f37112439389946a2 Signed-off-by: Vidyullatha Kanchanapally <vidyullatha@codeaurora.org>
2017-09-14Merge "soc: qcom: pil: set device dma mask as 32 bit"Linux Build Service Account
2017-09-14Merge "msm: ais: Synchronize camera open/close calls"Linux Build Service Account
2017-09-14Merge "USB: dwc3-msm: Protect enabling phy irqs with mutex"Linux Build Service Account
2017-09-14Merge "scsi: ufs: Get TX and RX FSM states for debug purpose"Linux Build Service Account
2017-09-14Merge "USB: composite: Use snprintf instead of sprintf"Linux Build Service Account
2017-09-14Merge "mmc: core: Correct the checks while setting clock scaling frequencies"Linux Build Service Account
2017-09-14Merge "mmc: block: Add error handling in mmc_blk_cmdq_part_switch"Linux Build Service Account
2017-09-14Merge "power: qpnp-fg-gen3: Get the raw MSOC directly from FG register"Linux Build Service Account
2017-09-14msm: ais: Synchronize camera open/close callsSankalp Sharma
Synchronize camera_v4l2_open and camera_v4l2_close to avoid use after free. Change-Id: I4055f00ff30408cc0469015b3e49d877632726bf CRs-fixed: 2048964 Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-09-14USB: dwc3-msm: Protect enabling phy irqs with mutexVijayavardhan Vennapusa
Currently driver is enabling hsphy_irq and ssphy_irq at the end of dwc3_msm_suspend() without any spinlock/mutex protection. But if it happens that hsphy_irq or ssphy_irq gets fired right after enablement of irqs, there is a chance that we might see warnings related to unbalanced irq enable. This could happen due to flag is not yet set to indicate phy irqs enabled in suspend(). This might cause phy irq left enabled after resume and could cause crash due to unclocked access in host mode. Fix the unbalance irq enable by having mutex protection and also extend mutex protection for dwc3_msm_suspend() and dwc3_msm_resume(). Change-Id: I8c2d26f82feb235add64305c1d0e5b686993e9e9 Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-09-13soc: qcom: pil: set device dma mask as 32 bitArun KS
APPS interact with MPSS through 32 bit register interface. Set dma mask for 32 bit so that mba and mdt memory are allocated from 32 bit physical address range. Change-Id: I623f00097d464b1bdd8f609e2d6c9a126f4bea4d Signed-off-by: Arun KS <arunks@codeaurora.org>
2017-09-13mmc: block: Add error handling in mmc_blk_cmdq_part_switchSayali Lokhande
mmc_blk_cmdq_part_switch always returned 0 even in case of failures as errors are not handled in this function. We need to un-halt cmdq in case it's in halt state when mmc_switch fails. This change adds error handling code and returns error in case of any failure. Change-Id: Icd7ec4b7b53fc56d39dbcea195ae44bf08de17e5 Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-09-14scsi: ufs: Get TX and RX FSM states for debug purposeSayali Lokhande
In case of any UFS error or aborts, read TX and RX FSM states which can be used for debugging purpose. Change-Id: I24a989a9e1b07ba904ec639e26736a01769f0593 Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-09-13Merge "msm: vidc: Do a proper clean-up in case of session abort"Linux Build Service Account
2017-09-13Merge "msm: ipa: Add new API to check for ipa uC readiness"Linux Build Service Account
2017-09-13Merge "msm: mdss: disable HDMI block before HDMI core off"Linux Build Service Account
2017-09-13Merge "msm: camera: isp: Check null pointer for VFE0 base"Linux Build Service Account
2017-09-13msm: ipa: Add new API to check for ipa uC readinessSkylar Chang
Adding new API for IPA clients to check for IPA uC ready before bringing up IPA uC offload data path. CRs-Fixed: 2030217 Change-Id: I0328658cba829cacc89b7c0b8edf7e52aa16e45c Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-09-13Merge "msm: mdss: dp: fix wdog_bite while disconnecting DP cable"Linux Build Service Account
2017-09-13Merge "msm: mdss: hdmi: correctly validate the cec msg frame size"Linux Build Service Account
2017-09-13Merge "msm: ais: isp: Reducing ISPIF stop waiting time"Linux Build Service Account
2017-09-13Merge "msm: mdss: hdmi: fix no audio over HDMI on device bootup"Linux Build Service Account
2017-09-13Merge "msm: mdss: Increase the max layer count to 13"Linux Build Service Account
2017-09-13Merge "adv7481: return error when PLL lock fails"Linux Build Service Account
2017-09-13Merge "ARM: dts: msm: Early init changes for vendor image on msm8996"Linux Build Service Account
2017-09-13Merge "mmc: host: Update the USE_PIO_FOR_EMMC_TUNING quirk value"Linux Build Service Account
2017-09-13Merge "cgroup/cpuset: remove circular dependency deadlock"Linux Build Service Account
2017-09-13Merge "power: smblib: correct PD voting when inactive"Linux Build Service Account
2017-09-13Merge "adv7481: Add support for CSI 4 lane for ADV7481"Linux Build Service Account
2017-09-13Merge "msm: camera: fix off-by-one overflow in msm_isp_get_bufq"Linux Build Service Account
2017-09-13Merge "msm: ais: sensor: flash: add conditional check for ioctl"Linux Build Service Account
2017-09-13Merge "msm: ais: Return -NOTTY on invalid ioctl command"Linux Build Service Account
2017-09-13Merge "msm: mdss: hdmi: configure hdcp feature support"Linux Build Service Account
2017-09-13msm: mdss: disable HDMI block before HDMI core offYuan Zhao
Switching HDMI display mode many times, could find sometimes color distortion or no signal display. If disable HDMI block before setting HDMI core off, that could be fixed. Change-Id: Ib0e8002f59e017a81298d4a5a39736a7516e3435 Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
2017-09-13USB: composite: Use snprintf instead of sprintfVijayavardhan Vennapusa
composite driver is using sprintf() function to expose value to userspace. This sprintf() is banned function and instead required to use snprintf() function. Hence replace sprintf() with snprintf() function to fix static analysis tool error. Change-Id: I85f38fe3f2121f6a0cb76b7178a3e699ba1dc7f2 Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-09-13cgroup/cpuset: remove circular dependency deadlockPrateek Sood
Remove circular dependency deadlock in a scenario where hotplug of CPU is being done while there is updation in cgroup and cpuset triggered from userspace. Process A => kthreadd => Process B => Process C => Process A Process A cpu_subsys_offline(); cpu_down(); _cpu_down(); mutex_lock(&cpuhotplug.lock); //held __cpu_notify(); workqueue_cpu_down_callback(); queue_work_on(system_highpri_wq); __queue_work(); insert_work(); wake_up_worker(); //pool->nr_running = 0 flush_work(); wait_for_completion(); worker_thread(); need_more_worker(); // returns true manage_workers(); maybe_create_worker(); create_worker(); kthread_create_on_node(); wake_up_process(kthreadd_task); kthreadd kthreadd(); kernel_thread(); do_fork(); copy_process(); percpu_down_read(&cgroup_threadgroup_rwsem); __rwsem_down_read_failed_common(); //waiting Process B kernfs_fop_write(); cgroup_file_write(); cgroup_tasks_write(); percpu_down_write(&cgroup_threadgroup_rwsem); //held cgroup_attach_task(); cgroup_migrate(); cgroup_taskset_migrate(); cpuset_can_attach(); mutex_lock(&cpuset_mutex); //waiting Process C kernfs_fop_write(); cgroup_file_write(); cpuset_write_resmask(); mutex_lock(&cpuset_mutex); //held update_cpumask(); update_cpumasks_hier(); rebuild_sched_domains_locked(); get_online_cpus(); mutex_lock(&cpuhotplug.lock); //waiting Eliminate this dependecy by reordering locking of cpuset_mutex and cpuhotplug.lock. Change-Id: Ifd76373d717c53b531623a3be76b7d32e0d959fd Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2017-09-13Merge "power: qcom: smb135x: change OTG regulator ops to static"Linux Build Service Account
2017-09-13Merge "power: qpnp-fg-gen3: adjust ki coefficient for full soc dynamically"Linux Build Service Account
2017-09-13Merge "usb: gadget: u_ether: Add NULL check in helper APIs"Linux Build Service Account