OSDN Git Service
Brahmaji K [Tue, 13 Dec 2016 15:02:24 +0000 (20:32 +0530)]
msm-3.18: drivers : added validation of input/output buffer sizes
This change fixes issues reagrding the ioctl
QSEECOM_IOCTL_MDTP_CIPHER_DIP_REQ uncovered by fuzzy tests.
Modified handler of above ioctl, not to allow input/output
buffer sizes greater than a fixed defined size.
Change-Id: I69f94a29d939341564f6f3ebfda48fceaa934542
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
Service qcabuildsw [Mon, 19 Dec 2016 17:57:36 +0000 (09:57 -0800)]
Merge "icnss: Do not collect MSA0 dump during Modem WDOG bite" into msm-4.4
Service qcabuildsw [Mon, 19 Dec 2016 17:57:34 +0000 (09:57 -0800)]
Merge "soc: qcom: ssr: add crash status to know why subsys crashed" into msm-4.4
Linux Build Service Account [Mon, 19 Dec 2016 08:45:20 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: disable VDD_APC0/1 CPR aging adjustments on MSM8998v2"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:19 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: reduce VDD_GFX CPR max floor to ceiling range for MSM8998v2"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:18 +0000 (00:45 -0800)]
Merge "usb: phy: qmp: Select usb3 phy mode before initializing PHY"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:17 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: Add VDD_APC CPR voltage margins for msm8998 v2"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:16 +0000 (00:45 -0800)]
Merge "defconfig: arm64: Enable USBNET driver"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:15 +0000 (00:45 -0800)]
Merge "usb: gadget: Reset notify count to 0 upon completion for RNDIS"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:14 +0000 (00:45 -0800)]
Merge "usb: qusb2: De-assert TCSR_QUSB2PHY_CLAMP_DIG_N_1P8 upon boot up"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:12 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: specify a flag to control encryption key size on msm8998"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:07 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: Enable bluetooth for wcn3990 on msm8998 interposer"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:06 +0000 (00:45 -0800)]
Merge "clk: msm: clock-gpu-8998: Program the Droop Detector gfx_pdn"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:05 +0000 (00:45 -0800)]
Merge "smb138x-charger: enable the watchdog timer when parallel is enabled"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:04 +0000 (00:45 -0800)]
Merge "USB: dwc3-msm: Disable Update xfer for DBM on ep disable or dequeue"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:03 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: Enable CAM1 on msmfalcon interposer"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:02 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: Add device tree for msmfalcon QRD"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:01 +0000 (00:45 -0800)]
Merge "ARM: dts: msm: Add camera dtsi for msmfalcon interposer qrd"
Linux Build Service Account [Mon, 19 Dec 2016 08:45:00 +0000 (00:45 -0800)]
Merge "msm: ion: Export msm_ion_do_cache_offset_op to do cache operations"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:56 +0000 (00:44 -0800)]
Merge "msm: cpp: Reset vbif and load firmware on poll failures"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:56 +0000 (00:44 -0800)]
Merge "clk: qcom: Add support for debugfs measure clock"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:54 +0000 (00:44 -0800)]
Merge "qpnp-fg-gen3: fix a possible wake source count leak"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:54 +0000 (00:44 -0800)]
Merge "qpnp-fg-gen3: Read debug battery id thresholds from RR_ADC registers"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:53 +0000 (00:44 -0800)]
Merge "spcom: print error messages when remote SP subsystem crash"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:52 +0000 (00:44 -0800)]
Merge "spcom: cleanup rx-abort flag when channel closed"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:51 +0000 (00:44 -0800)]
Merge "ARM: dts: msm: Configure lmh hardware for msmfalcon"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:50 +0000 (00:44 -0800)]
Merge "defconfig: msm: Enable SMCInvoke driver for msmfalcon_32"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:50 +0000 (00:44 -0800)]
Merge "msm: mink: Fix compilation issues for 32bit targets"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:49 +0000 (00:44 -0800)]
Merge "ARM: dts: msm: add ufs support to msmfalcon"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:48 +0000 (00:44 -0800)]
Merge "soc: qcom: pil-q6v5: Update cx_max to INT_MAX while voting for CX rail"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:47 +0000 (00:44 -0800)]
Merge "defconfig: enable qdss nodes in msmfalcon"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:46 +0000 (00:44 -0800)]
Merge "ARM: dts: msm: Move to RPM based regulators for msmtriton"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:45 +0000 (00:44 -0800)]
Merge "ASoC: msm: Disable audio SSR for msmfalcon"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:45 +0000 (00:44 -0800)]
Merge "ARM: dts: msm: Add temp alarm nodes for pm/pm2falcon"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:44 +0000 (00:44 -0800)]
Merge "msm: mdss: Clear compat structures before copying to user"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:43 +0000 (00:44 -0800)]
Merge "defconfig: Enable config INET_DIAG_DESTROY"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:42 +0000 (00:44 -0800)]
Merge "soc: qcom: glink: Add pending remote done packets to intent purge"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:42 +0000 (00:44 -0800)]
Merge "mm: cma: check the max limit for cma allocation"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:41 +0000 (00:44 -0800)]
Merge "ARM: dts: msm: Add qcom,msm-imem-diag-dload node on msmfalcon/msmtriton"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:40 +0000 (00:44 -0800)]
Merge "defconfig: msmfalcon: enable host CDC-ECM class support"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:39 +0000 (00:44 -0800)]
Merge "msm: vidc: remove redundant init_completion() calls"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:39 +0000 (00:44 -0800)]
Merge "msm: camera: isp: Fix HVX streaming after crash"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:38 +0000 (00:44 -0800)]
Merge "msm: sensor: fixing errors due to csiphy clock release"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:37 +0000 (00:44 -0800)]
Merge "ARM: dts: msm: Add cpp src clock rates configuration for msm8996"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:36 +0000 (00:44 -0800)]
Merge "msm: vidc: Add port information to flush_done event"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:36 +0000 (00:44 -0800)]
Merge "usb: gadget: composite: Add spinlock protection for usb string descriptor"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:35 +0000 (00:44 -0800)]
Merge "msm: rdbg: Add snapshot of remote debugger driver"
Linux Build Service Account [Mon, 19 Dec 2016 08:44:34 +0000 (00:44 -0800)]
Merge "msm: sensor: Fix to read the parameters from slave info"
Linux Build Service Account [Sun, 18 Dec 2016 22:48:01 +0000 (14:48 -0800)]
Merge "clk: qcom: add common clock framework support for MDSS PLL"
Linux Build Service Account [Sun, 18 Dec 2016 22:48:00 +0000 (14:48 -0800)]
Merge "ARM: dts: msm: Remove write of acc register for MSMFalcon/Triton/8998"
Linux Build Service Account [Sun, 18 Dec 2016 22:47:59 +0000 (14:47 -0800)]
Merge "soc: qcom: pil-q6v5: Update the reset sequence for qdspv62.1.2/1.5"
Linux Build Service Account [Sun, 18 Dec 2016 22:47:59 +0000 (14:47 -0800)]
Merge "ARM: dts: msm: Move boot_rom_ahb_clk to proxy voted for msm8998"
Linux Build Service Account [Sun, 18 Dec 2016 22:47:58 +0000 (14:47 -0800)]
Merge "msm: kgsl: Add Bind objects to dispatcher draw queue"
Linux Build Service Account [Sun, 18 Dec 2016 22:47:57 +0000 (14:47 -0800)]
Merge "soc: qcom: pil: Initialize variable to avoid invalid access"
Sameer Thalappil [Fri, 16 Dec 2016 02:00:06 +0000 (18:00 -0800)]
icnss: Do not collect MSA0 dump during Modem WDOG bite
During modem WDOG bite scenarios, error handlers are not executed
in modem. So Adrastea may not be in reset when SSR notifications
are received in HLOS. Remapping MSA0 during SSR could cause SMMU
fault at Adrastea, as it may be still accessing it. Skip collecting
MSA0 dump in WDOG bite scenarios.
CRs-Fixed:
1102057
Change-Id: I9082d4d40b70d0ca8cc8fbc6aadf14b2f0aedd0c
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
Satya Durga Srinivasu Prabhala [Thu, 15 Dec 2016 21:33:39 +0000 (13:33 -0800)]
soc: qcom: ssr: add crash status to know why subsys crashed
In some specific cases, clients may want to know why subsystem
crashed, for example, in case of watch dog bite, subsystem may not
be able to execute error handling. Which would need different code
paths to be exercised on the apps processor.
Change-Id: I073733b8a56b57f14906b25cba08012c2f0b414a
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Sandeep Panda [Fri, 18 Nov 2016 08:50:06 +0000 (14:20 +0530)]
clk: qcom: add common clock framework support for MDSS PLL
Model and configure MDSS DSI PLL using upstream clock framework
APIs. Add changes to define and register vco, divider, mux clcoks
as per common clock infrastructure.
Change-Id: Idc51070e2bb36d1a757d2714d2875a99901321a7
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Gaurav Kohli [Tue, 13 Dec 2016 11:28:54 +0000 (16:58 +0530)]
ARM: dts: msm: Remove write of acc register for MSMFalcon/Triton/8998
Remove the write of acc strap register by default value during Q6 reset
as per Hardware Programming Guide.
Change-Id: Id5b8aaae0783893290e95626b394841a7d3808a3
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
Gaurav Kohli [Tue, 13 Dec 2016 10:09:20 +0000 (15:39 +0530)]
soc: qcom: pil-q6v5: Update the reset sequence for qdspv62.1.2/1.5
Update the reset sequence to read each write while enabling QDSP6 memory
bank one at a time. This will make sure whether write is complete or not.
Also add logs during Mss shutdown, It will help to debug Mss restart
and shutdown case.
Change-Id: I9f2cb058a7e59b573fc64662ee7b5bff49b18ea7
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
Linux Build Service Account [Tue, 13 Dec 2016 20:18:08 +0000 (12:18 -0800)]
Merge "USB: dwc3: msm: Fail probe if core-clk-rate is not passed from dts"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:06 +0000 (12:18 -0800)]
Merge "USB: dwc3-msm: Check endpoint status and request queued or not first"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:06 +0000 (12:18 -0800)]
Merge "USB: dwc3-msm: Initialize DBM ep before BAM pipe reset"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:05 +0000 (12:18 -0800)]
Merge "ARM: msm: dts: Add regulator changes for msm8998-v2.1-interposer"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:04 +0000 (12:18 -0800)]
Merge "ARM: dts: msm: Add bluetooth node for msmfalcon"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:03 +0000 (12:18 -0800)]
Merge "ARM: dts: msm: add camera focus and snapshot nodes for MSMFALCON"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:03 +0000 (12:18 -0800)]
Merge "ARM: dts: msm: Add GPU mempools properties for msmfalcon"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:02 +0000 (12:18 -0800)]
Merge "clk: qcom: Update fmax tables and few frequencies clocks of MSMfalcon"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:01 +0000 (12:18 -0800)]
Merge "defconfig: arm64: msm: Enable USB RMNET & RNDIS using IPA over BAM2BAM"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:00 +0000 (12:18 -0800)]
Merge "qpnp-fg-gen3: Use the correct property name to get fastcharge current"
Linux Build Service Account [Tue, 13 Dec 2016 20:18:00 +0000 (12:18 -0800)]
Merge "ARM: dts: msm: rename battery profile used for msm8998 QRD"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:59 +0000 (12:17 -0800)]
Merge "usb: dwc3-msm: Set PROP_BOOST_CURRENT for direct attach devices"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:58 +0000 (12:17 -0800)]
Merge "icnss: Remove dev reference"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:57 +0000 (12:17 -0800)]
Merge "msm: dvb: demux: compilation error fix for 32 bit version"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:57 +0000 (12:17 -0800)]
Merge "smb-lib: revert the boost back workaround for dc path"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:56 +0000 (12:17 -0800)]
Merge "dwc3: gadget: Increase TXFIFO size as 3KB with endless USB IN endpoint"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:55 +0000 (12:17 -0800)]
Merge "spcom: check buf size for send modified command"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:54 +0000 (12:17 -0800)]
Merge "spcom: check buf_size validity for user send command"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:54 +0000 (12:17 -0800)]
Merge "NFC: Inform CLF whenever eSE is powered off"
Linux Build Service Account [Tue, 13 Dec 2016 20:17:53 +0000 (12:17 -0800)]
Merge "spcom: check user space command size"
Mayank Rana [Tue, 13 Dec 2016 16:55:07 +0000 (08:55 -0800)]
defconfig: arm64: Enable USBNET driver
This change enables USBNET driver which allows USB ethernet class
driver to register USB ethernet device as network device with Linux
Network Stack and allows USB IOs with USB Host Controller driver.
Change-Id: Iba036ce43656979df0b9ea228b57bc980c4c53bc
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Andrey Markovytch [Tue, 13 Dec 2016 13:49:50 +0000 (15:49 +0200)]
ARM: dts: msm: specify a flag to control encryption key size on msm8998
This is required to control the FDE/FBE key size from kernel.
Same TZ image can now be used for different encryption key sizes.
The key size will not be fixed and will be controlled with
this flag in qseecom driver.
Change-Id: Iac5c25ba5dc7d22cd7a4961dd5058db0088995ca
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Andrey Markovytch [Tue, 13 Dec 2016 13:44:37 +0000 (15:44 +0200)]
qseecom: add configurable encryption key size
ICE crypto engine key size can now be configured using dtsi flag.
This is required to facilitate usage of common TZ image with variable
key sizes and also provides flexibility in handling different key sizes
requirement in future. This flag is parsed in driver and depending upon
the value HLOS decides on key size to be passed to TZ.
Change-Id: If40f83a943e5ae8333d171c21823a16816d7ddd4
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Vijay kumar Tumati [Tue, 13 Dec 2016 08:48:10 +0000 (14:18 +0530)]
ARM: dts: msm: Enable CAM1 on msmfalcon interposer
Add DTSI configuration for camera node 1. Used by
all sensor modules that are connected to this port.
Change-Id: I3301d822a3664869d8531d7ff0efa20e22996763
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
Krishnankutty Kolathappilly [Mon, 12 Dec 2016 21:59:40 +0000 (13:59 -0800)]
msm: cpp: Reset vbif and load firmware on poll failures
CPP poll failure can happen if vbif reset is not proper. Reset vbif
and load firmware on poll failures to recover from error scenario.
CRs-Fixed:
1098549
Change-Id: I38ef1c9478450c98c8379d8b1c085b31209cb48e
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
Manish Poddar [Mon, 11 Apr 2016 05:57:42 +0000 (11:27 +0530)]
msm: camera: Initialize return value to 0
Initialize return variable to 0 instead of
error.
CRs-fixed:
1001532
Change-Id: I81c87cac13e33e0678b3bb92f58da0699d9197c2
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
Manish Poddar [Wed, 23 Mar 2016 11:27:23 +0000 (16:57 +0530)]
msm: camera: Initialize variables to default
Add NULL check and initialize the variables to
default values in camera.
CRs-fixed: 994317
Change-Id: I165f1c39c1332737a644c6650bc40f4c718a7ee8
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
Taniya Das [Tue, 13 Dec 2016 05:29:39 +0000 (10:59 +0530)]
clk: qcom: Update fmax tables and few frequencies clocks of MSMfalcon
The fmax corner frequencies have got updated, and also new frequencies have
been added for few clocks, so fix and update the same.
Change-Id: Ic6e2c2208a8971b07ed6ccfc8d63091e4692301f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Vijayavardhan Vennapusa [Tue, 6 Dec 2016 06:34:21 +0000 (12:04 +0530)]
USB: dwc3: msm: Fail probe if core-clk-rate is not passed from dts
Currently USB driver is not failing probe if USB core-clk-rate property
is not exist. This leads to USB enumeration failures across connect/
disconnect. Hence make core-clk-rate property mandatory and if in case
not defined, fail the probe. Also Fail probe if extcon property not
defined in case of OTG mode.
Also return error if dwc3_core_pre_init() fails during dwc3-msm_resume()
due to phy init fails and don't go ahead with setting up event buffers
as event buffers allocation is done.
Change-Id: I3927ad2f670e45acd10f8568857cf9f3434df657
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Vijayavardhan Vennapusa [Mon, 28 Nov 2016 09:34:52 +0000 (15:04 +0530)]
ARM: msm: dts: Add regulator changes for msm8998-v2.1-interposer
Add required regulator changes in msm8998-v2.1-interposer-msmfalcon.dts
file for USB functionality to be working.
Change-Id: I3e4a43de0c1de6573fea8a52929f6c7af5259755
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Rupesh Tatiya [Thu, 1 Dec 2016 08:41:39 +0000 (14:11 +0530)]
ARM: dts: msm: Enable bluetooth for wcn3990 on msm8998 interposer
Enable various voltage regulators, clocks required to enable bluetooth on
msm8998 interposer.
CRs-Fixed:
1097035
Change-Id: I9f70b74b7ccfb84fec721dbfa1d838d183419cb9
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Chandana Kishori Chiluveru [Thu, 1 Dec 2016 09:12:02 +0000 (14:42 +0530)]
defconfig: arm64: msm: Enable USB RMNET & RNDIS using IPA over BAM2BAM
This change enables USB RNDIS and RMNET drivers for BAM2BAM communication.
Change-Id: Ibfd9d12503248a3589bbda94096d40856ccba2c4
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Rupesh Tatiya [Mon, 12 Dec 2016 07:30:26 +0000 (13:00 +0530)]
ARM: dts: msm: Add bluetooth node for msmfalcon
Add bluetooth node for wcn3990 on msmfalcon. This change configures
various voltage regulator and clocks.
CRs-Fixed:
1100113
Change-Id: I403c9def4f90832174f45e21e6c6fceb4a77a2a0
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Kui Wang [Wed, 16 Nov 2016 04:17:19 +0000 (12:17 +0800)]
ARM: dts: msm: Add camera dtsi for msmfalcon interposer qrd
Add camera related device nodes for msmfalcon interposer qrd.
That includes front/rear/aux sensor device nodes, and
corresponding eeprom/actuator/ois device nodes.
Change-Id: I4f8ca4182f9807d970184c85a58989b41755b163
Signed-off-by: Kui Wang <kuiw@codeaurora.org>
Sunid Wilson [Mon, 7 Mar 2016 22:41:25 +0000 (14:41 -0800)]
msm: fd: Support dynamic update of clock and bus settings
Change the bus settings and clocks based on the user
settings while streaming is in progress.
CRs-Fixed: 985849
Change-Id: If9307ffd47854afe6101671ce911631b52a6dff9
Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
Ashwini Rao [Thu, 21 Jan 2016 22:59:14 +0000 (14:59 -0800)]
msm: camera: fd: Add CPP VBIF error handling
On detecting a VBIF hang, reset the VBIF and FD core
and if there is an active buffer, queue back the
active buffer and start processing again.
CRs-Fixed: 961394
Change-Id: I1ed035c8a8efb20d31da9556c5d5b810f81c44d2
Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>
Peter Liu [Thu, 21 Jan 2016 21:57:51 +0000 (13:57 -0800)]
msm: camera: cpp: Add cpp bus error handler
Reset and halt the bus when bus hang with cpp timeout.
CRs-Fixed: 961394
Change-Id: Id3612b134e3db19f1f8e2e2b3b444f0b6284c4d1
Signed-off-by: Peter Liu <pingchie@codeaurora.org>
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
Ashwini Rao [Thu, 21 Jan 2016 22:16:20 +0000 (14:16 -0800)]
msm: fd: Handle timeout on stream off
On stream off, if there is a timeout waiting for
the current buffer to complete, do a
vb2_buffer_done on the active buffer before it is
removed from the queue. Reduce the timeout
wait time to 150ms
CRs-fixed: 961394
Change-Id: I57d616e9cf89f7722483fe0d49a0b5e44f0e4782
Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>
Hemant Kumar [Fri, 9 Dec 2016 01:37:53 +0000 (17:37 -0800)]
usb: gadget: Reset notify count to 0 upon completion for RNDIS
When host RNDIS sends reset message it skips response available
notification and directly sends get encap response. This causes
notify count to become > 1. As a result when notify completion happens
driver is queuing another notify response available when there is
no legitimate response to send from device side. Hence reset notify
count back to 0 after the completion of notify response, so that
next notification will only be sent when there is a send encap
command sent by host.
Change-Id: I242478408f8cb60fb5af5c741dbf2e8bf3e38af8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Jack Pham [Thu, 8 Dec 2016 03:25:02 +0000 (19:25 -0800)]
usb: dwc3-msm: Set PROP_BOOST_CURRENT for direct attach devices
If PMIC provides boost power for VBUS in host mode, it may
need to know the amount of current of an attached device
in order to optimize for overall power consumption. We can
pass the bMaxPower obtained from a device's configuration
descriptor when it is attached. This only affects devices
(including hubs) directly attached to the root port, as
any device downstream of a hub will either consume part of
the hub's budget or has external power.
Change-Id: I1ad2cfecb7a2f6bdeaced29a1753cdc1bf3849db
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Deepak Katragadda [Mon, 12 Dec 2016 22:48:12 +0000 (14:48 -0800)]
clk: msm: clock-gpu-8998: Program the Droop Detector gfx_pdn
In order to avoid leakage between the graphics and the CX
rails, set the GPU_DD_WRAP_CTRL__GFX_PDN bit.
Change-Id: I7b2e59606e73c467c2b862f0162a176611d7ae3d
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>