summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2017-03-09Merge "mmc: bus: Handle error in case bus_ops suspend fails"Linux Build Service Account
2017-03-09Merge "mmc: mmc: Handle error case in mmc_suspend"Linux Build Service Account
2017-03-09Merge "mdss: display-port: fix DP issue when framework reboots"Linux Build Service Account
2017-03-09Merge "msm: mdss: hdmi: check up-bound of CEC frame size"Linux Build Service Account
2017-03-09Merge "msm: sde: Wait for Rotator HW complete if stop streaming timeout"Linux Build Service Account
2017-03-09Merge "msm: mdss: initialize the DP thread structures before kthread_run"Linux Build Service Account
2017-03-09Merge "msm: qpnp-haptic: Add support for haptics on PM660"Linux Build Service Account
2017-03-09Merge "mmc: host: cmdq-hci-ice: Clear ICE configuration once request is done"Linux Build Service Account
2017-03-09Merge "mmc: host: sdhci-msm-ice: Support for clearing ice configuration"Linux Build Service Account
2017-03-09Merge "drivers: lmh_dcvsh: Use allocated variable for LMH DCVSh sensor name"Linux Build Service Account
2017-03-09Merge "input: touchscreen: remove data pointer from driver structure"Linux Build Service Account
2017-03-09Merge "msm: camera: sensor: Do not dump the CCI registers"Linux Build Service Account
2017-03-09Merge "msm: mdss: update check bw check for ab/ib"Linux Build Service Account
2017-03-09Merge "icnss: Remove WARN_ON"Linux Build Service Account
2017-03-09Merge "msm: mdss: add HW recommended delay for dfps feature."Linux Build Service Account
2017-03-09Merge "usb: gadget: f_gsi: Fix NULL ptr dereference"Linux Build Service Account
2017-03-09Merge "qseecom: return app_id correctly when looking up and loading app"Linux Build Service Account
2017-03-09Merge "usb: gadget: f_fs: Fix out-of-bounds string access"Linux Build Service Account
2017-03-09Merge "msm: qpnp-haptic: Disable auto resonance on LRA frequency deviation"Linux Build Service Account
2017-03-09Merge "clk: qcom: Fix null pointer exception"Linux Build Service Account
2017-03-08mmc: host: cmdq-hci-ice: Clear ICE configuration once request is doneVeerabhadrarao Badiganti
Clear ICE configuration once cmdq request processing is done. This ensures that the key information is cleared by ICE driver. This call is optional for FDE but required for FBE. Change-Id: I231ca849aa34c156baa45fceae95debf46dd57f0 Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-09mmc: host: sdhci-msm-ice: Support for clearing ice configurationVeerabhadrarao Badiganti
Adding support for clearing ice configuration. Once mmc request processing is completed, mmc driver has to call config_end to ensure key information is cleared by ICE driver. This call is optional for FDE but required for FBE. Change-Id: I8c225deda782528a7f220f7d1f81c6240caca1ae Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-09msm: qpnp-haptic: Add support for haptics on PM660Ankit Sharma
Update the driver to support PM660. PM660 add dedicated register for auto-resonance control and a few other changes to haptics configuration. CRs-Fixed: 2016588 Change-Id: Ia9d65bc0a1169b5cba1c122d50d49c8102ac79f5 Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
2017-03-08Merge "mmc: host: sdhci: Add new host_op for clearing ice configuration"Linux Build Service Account
2017-03-08Merge "qcom: smb-lib: force 9V for QC2.0 adapter"Linux Build Service Account
2017-03-08Merge "msm: ipa: Fix updating the repl_trig_thresh for LAN_CONS"Linux Build Service Account
2017-03-08Merge "clk: qcom: Add separate aggre2_noc clock voters for SDM660/630"Linux Build Service Account
2017-03-08Merge "USB: composite: Fix double release of spin_unlock_irqsave"Linux Build Service Account
2017-03-08usb: gadget: f_gsi: Fix NULL ptr dereferenceHemant Kumar
When usb composition switch happens upon cable disconnect and function bind fails, function's config pointer is set to NULL. This is resulting in to NULL ptr dereference when config is accessed from APIs which are called asynchronously and out side of the usb core driver(i.e. dwc3) context. Fix the issue by directly accessing gadget pointer from gsi driver context in those APIs. Change-Id: I1006881ae1838e8ddc8fa5e9ef501f4c658b54e7 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-03-08mdss: display-port: fix DP issue when framework rebootsChandan Uddaraju
When framework reboot happens, HPD node is toggled by the display framework. Make sure to send cable disconnect event to framework when HPD is set to 'low' state. CRs-Fixed: 1116934 Change-Id: If59ec7c81264ff76b661cdfd8e6b70356a6e1544 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2017-03-08mdss: display-port: add support for suspend and resume eventsChandan Uddaraju
Add support for suspend and resume events that are triggered by the run time system. In particular, transition the clock (link and core) and regulators state depending on whether the suspend or resume is being processed. CRs-Fixed: 1103664 Change-Id: I4e3de9b32963c71dfded0f695dc7734b8121e19a Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2017-03-08msm: mdss: dp: fix link training routine for VGA monitorsAjay Singh Parmar
Fix the link training routine by removing the updates to the state control register and the corresponding memory barrier to complete the register write. This changes fixes the link training failures seen with VGA monitors over the Type-C/VGA dongle interface. CRs-Fixed: 2008753 Change-Id: I501833e02d24d6aa12351eb0bd067a08ad597ed0 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2017-03-08msm: mdss: dp: disable audio engine on teardown_doneTatenda Chipeperekwa
Disable the DP audio engine on receiving the teardown_done callback from the audio codec. This ensures that the DP engine is in the disabled (MUTE) state in preparation for the next audio session. CRs-Fixed: 2006127 Change-Id: I7c984531d308501690ede36ea959391ebef7599f Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-03-08msm: mdss: dp: separate audio and video notificationsTatenda Chipeperekwa
Separate the audio and video notifications while processing the display hotplug events to ensure that the audio subsystem is notified only when the display is in the correct state. In particular, the audio subsystem should only be notified once the mainlink is ready and the DP controller is in SEND_VIDEO state. This will ensure that the DP audio engine is able to acknowledge the audio unmute request, which will result in the AFE port being configured correctly. CRs-Fixed: 2007534 Change-Id: I702c1de6d4eb10e001d97e1d7e7c545ff481a401 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-03-08msm: mdss: dp: set failsafe link parameters on EDID failureTatenda Chipeperekwa
Set the link parameters that correspond to the failsafe resolution if there is a failure in reading or parsing the EDID data. This will allow the display to be configured with the failsafe resolution and prevent the driver from going into a bad state. CRs-Fixed: 2002794 Change-Id: I5882e66eee6073da6484903956abdcb3db05a5ea Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-03-08msm: ext_disp: do not check flags for connection requestAjay Singh Parmar
Do not check flags for connection requests as it may result in not processing any subsequent requests that have new flags added incrementally from the previous connection. CRs-Fixed: 2007353 Change-Id: Ie867d13d25267962315444797cf21bf57850f088 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2017-03-08usb: gadget: f_fs: Fix out-of-bounds string accessJack Pham
At the end of ffs_epfiles_create() a message is logged with the name of the epfile, however this epfile pointer is only valid in the body of the preceding for-loop. After the loop exits, it is now pointing one past the allocated array and results in an out-of-bounds memory access when formatting the string. Since there could be multiple ep's created, the name may not be important to log. Replace it with the count instead. Also while ffs_epfiles_destroy() doesn't have the same problem, do the same there anyway for symmetry. Change-Id: I10551f9c1e056f215ec59335cbf1cde2bad6cc04 Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-03-08Merge "diag: Add NULL pointer checks in mask updates"Linux Build Service Account
2017-03-08Merge "soc: qcom: Free qmi handle in a worker thread"Linux Build Service Account
2017-03-08Merge "supply: qcom: add battery.o earlier"Linux Build Service Account
2017-03-08Merge "ARM: dts: msm: Enable Short-Circuit (SC) interrupt for LCDB on PM660L"Linux Build Service Account
2017-03-08Merge "msm: ADSPRPC: Handle SSR, daemon kill for audio PD"Linux Build Service Account
2017-03-08msm: qpnp-haptic: Disable auto resonance on LRA frequency deviationAnkit Sharma
Disable Auto-resonance if calibrated LRA frequency deviates more than +/- 25% of initial LRA frequency and change error polling frequency to 20ms. While at it, fix the calculation of deviation error percent for LRA rate code. CRs-Fixed: 1099718 Change-Id: I329415992d3932e389e95995c1503c15ba282b19 Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
2017-03-08mmc: bus: Handle error in case bus_ops suspend failsSiba Prasad
bus_ops->suspend may fail due to some reason (for e.g. due to flush timeout). In such cases, if we return error to PM framework from here without calling pm_generic_resume then mmc request may get stuck since PM framework will assume that mmc bus not suspended (because of error) and it won't call resume again. Thus fix this by calling pm_generic_resume in case of error from bus_ops->suspend in mmc_bus_suspend. Change-Id: Iaef485d0b47b005aa88e61cd77a2b7b65931def1 Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org> Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org> Signed-off-by: Siba Prasad <sibap@codeaurora.org>
2017-03-08mmc: mmc: Handle error case in mmc_suspendRitesh Harjani
Currently in case if suspend is failed due to some reason then the error case is not handled properly :- 1. w.r.t. suspend_clk_scaling claim_host counters are going bad. 2. In case of any error after halting and disabling cmdq - the error is returned to the PM framework and it assumes that card is not suspended, whereas CQ remains disabled. This causes I/O requests hangs since no request can be processed any further. Fix this by handling error cases properly. Change-Id: I8691eebcb0e2d089720505475aa0297efce5cca5 Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org> Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org> Signed-off-by: Siba Prasad <sibap@codeaurora.org>
2017-03-08mmc: host: sdhci: Add new host_op for clearing ice configurationVeerabhadrarao Badiganti
Add new host op for clearing ice configuration. This config_end host op need to invoked for clearing ice configuration, once mmc request processing is completed. Change-Id: Ifc5569ae88748599b75ef5b3e625249ecd667762 Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-08regulator: qpnp-lcdb: Handle short-circuit (SC) eventAnirudh Ghayal
Handle the SC event in normal and TTW mode. Check if the SC event is valid and re-enable the module to check if it goes away. Disable the module altogether if the SC event persists. CRs-Fixed: 1083319 Change-Id: I20bd3ca0bd3cf273a2607656e3f51bde1eaf2dc6 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-03-07Merge "drivers: soc: add size check"Linux Build Service Account
2017-03-07Merge "usb: xhci: Set bulk EP maxpacket to 8 for buggy FS devices"Linux Build Service Account
2017-03-07Merge "icnss: set vdd-0.8-cx-mx regulator optional for icnss driver"Linux Build Service Account