Commit graph

882,740 commits

Author SHA1 Message Date
Bao D. Nguyen
13cb7ecffb mmc: Add MMC clock scaling support for sdhci-msm layer
Add the clock scaling support for SD card in the
sdhci-msm layger.

Change-Id: I17a279bea4ee589121785006e1887a6f39e3ce6a
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-05-11 12:01:37 -07:00
Bao D. Nguyen
c494419327 mmc: Add MMC clock scaling support to core layer
Add the clock scaling support for SD card to the core layer.

Change-Id: I9bfc8b581aed7013ecd2f8af65643a4e242d4b72
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-05-11 11:58:57 -07:00
Bao D. Nguyen
6351378cf9 mmc: Add MMC clock scaling support in the block layer
Add the clock scaling support for SD card in the block layer.

Change-Id: Iac02d68ce01dd2f2437b1b09dba1070c63aa0317
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-05-11 11:58:48 -07:00
qctecmdr
4c36c73742 Merge "dt-bindings: clock: add support for DSI CPHY clocks" 2020-05-08 09:36:12 -07:00
himta ram
5499a4c2a7 radio: RTC6226: remove open and release v4l2_fh file
As part of v4l2_fh_open call at rtc6226 driver
open time memory is allocated via kzalloc() and
the same memory is not released at the time of
rtc6226 driver open failure case.
Remove the open and release v4l2_fh file as
it not required for rtc6226 driver.

Change-Id: I98195b9b0731d5392b82c3d12e393c6ffaad702c
Signed-off-by: himta ram <hram@codeaurora.org>
2020-05-08 05:56:18 -07:00
Yuan Zhao
7def97e0a3 dt-bindings: clock: add support for DSI CPHY clocks
Add CPHY specific clocks to support MIPI DSI CPHY on
Lahaina hardware. Add the relevant clock bindings.

Change-Id: If7dd806e6427b65427d5999bb9ccda7098ec610b
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
2020-05-08 11:55:18 +08:00
Siddharth Gupta
a65504bf2b firmware: scm: Add export symbol for scm API
Add missing export symbol for wdog trigger available API.

Change-Id: Ib9fa8de3c8fa906bc8d09073e1df5509aa0c55e2
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2020-05-07 13:40:51 -07:00
qctecmdr
492d9b26fb Merge "cpufreq: qcom: Add a property for max lut entries" 2020-05-07 07:00:55 -07:00
qctecmdr
13ff2c4c53 Merge "arm64: defconfig: Enable debugfs for QMP on perf build" 2020-05-06 23:50:34 -07:00
qctecmdr
f0873c1708 Merge "haven: display: add IRQ label for display" 2020-05-06 23:50:34 -07:00
qctecmdr
20163dcd71 Merge "ucsi: ucsi_glink: Fix message handling in ucsi_qti_notify()" 2020-05-06 23:50:33 -07:00
qctecmdr
ef0a8ac3e8 Merge "cnss2: Enable Support for WFC call TWT config" 2020-05-06 23:50:32 -07:00
Subbaraman Narayanamurthy
d5f6277a9f ucsi: ucsi_glink: Fix message handling in ucsi_qti_notify()
Currently, ucsi_qti_notify() is checking the received data from
charger firmware (PPM) to see if there is any connector status
response with partner accessory information (e.g. analog audio).
It does this based on setting a flag (cmd_requested_flags) when
UCSI_GET_CONNECTOR_STATUS command is sent from UCSI framework to
PPM so that the response for that command can be read and clients
registered for getting notification on partner accessory can get
notified. However, in a certain scenario, multiple response for
different commands can be received from PPM. See a possible
example below.

1. UCSI framework sends UCSI_GET_CONNECTOR_STATUS command
2. ucsi_glink driver sets cmd_requested_flags, waits for response
3. UCSI framework sends UCSI_GET_CURRENT_CAM command
4. ucsi_glink driver gets a response for UCSI_GET_CONNECTOR_STATUS
   and schedules notify_work since ucsi_qti_notify() is called
   with cmd_requested_flags set.
5. ucsi_glink driver gets a response for UCSI_GET_CURRENT_CAM and
   this can end up reading "flags" because cmd_requested_flags is
   not cleared yet. However, this causes a buffer overflow because
   ucsi_qti_read() passes "val" pointer passed from UCSI framework
   which is of 1 byte length and ucsi_qti_notify() ends up reading
   "flags" which is at an offset 2 of length 9 bytes.
6. ucsi_qti_notify_work() clears cmd_requested_flags.

Fix this by checking the message length in ucsi_qti_notify()
to ensure that status->flags is read only when a response is
received for UCSI_GET_CONNECTOR_STATUS. Also, relocate the
clearing of "cmd_requested_flags" flag.

CRs-Fixed: 2678391
Change-Id: Iac1d5c58e1ed2fd0f3bc153da23cddf0700cc097
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-05-06 12:08:45 -07:00
qctecmdr
9cbbef041c Merge "scsi: pm: Balance pm_only of request queue during system resume" 2020-05-06 01:33:17 -07:00
qctecmdr
acbfb2fe83 Merge "Revert "ASoC: Update the widgets power up/down sequence"" 2020-05-06 01:33:17 -07:00
qctecmdr
734edfb319 Merge "Revert "usb: gadget: Mark usb gsi driver dma memory as cached"" 2020-05-05 23:42:02 -07:00
qctecmdr
538f050c4d Merge "usb: misc: nb7vpq904m: rework to work with ucsi framework" 2020-05-05 23:42:01 -07:00
qctecmdr
f5e54b5820 Merge "sound: usb: Flush cache explicitly after mapping buffers" 2020-05-05 23:42:01 -07:00
Manikandan Mohan
b9ecde3bae cnss2: Enable Support for WFC call TWT config
Update cnss2 driver to support WFC call TWT config params exchange
between IMS and WLAN firmware.

Change-Id: I8ec9b3c41e048848a91097e653d8cd45a8de0d0b
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-05-05 10:48:02 -07:00
qctecmdr
25339ae960 Merge "regulator: rpm-smd-regulator: Add support for proxy consumers" 2020-05-05 03:42:18 -07:00
qctecmdr
17a385d03d Merge "scripts: headers_install: Add sigcontext.h into the bypass list" 2020-05-05 03:42:18 -07:00
qctecmdr
8bc1361719 Merge "msm: adsprpc : Change to resolve undefined behaviour" 2020-05-04 12:24:20 -07:00
qctecmdr
66b4463f98 Merge "defconfig: arm64: Enable SDCARD_FS for Lahaina" 2020-05-03 06:14:59 -07:00
qctecmdr
e195cd0a45 Merge "msm: kgsl: Fix preemption fault handling for A6xx GPU" 2020-05-03 06:14:59 -07:00
qctecmdr
40a712728d Merge "clockevents: Add NULL definition for tick_broadcast on UP" 2020-05-03 06:14:58 -07:00
qctecmdr
a0fc4c2dfc Merge "cnss2: Post register driver work as unkillable event" 2020-05-03 06:14:58 -07:00
qctecmdr
c44ac6a1ef Merge "wigig_sensing: add SPI profiling" 2020-05-03 06:14:58 -07:00
qctecmdr
f2d1ca67ff Merge "msm: gsi: Add support for EV RP DDR access feature" 2020-05-03 06:14:57 -07:00
qctecmdr
339df4b9e2 Merge "msm: kgsl: Check for an OPP table without accidentally creating one" 2020-05-03 01:19:19 -07:00
qctecmdr
a5d7a7b302 Merge "haven: dbl: Make hh_dbl_ functions wait for capid availability" 2020-05-03 01:19:18 -07:00
qctecmdr
846ffba204 Merge "uapi: sound: remove redundant QGKI config checks" 2020-05-03 01:19:18 -07:00
qctecmdr
1d6e0d80c7 Merge "mhi: cntrl: qcom: enhance logging for forced suspend" 2020-05-03 01:19:17 -07:00
Yue Ma
b790cefd54 cnss2: Post register driver work as unkillable event
Register driver work handler will only power up device, resume PCIe
link and start MHI to download firmware. It may only block there
for a timeout, so there is no need to post it as killable event.

Change-Id: Ib82050358dc8df4a8163ecb43702aa86ed34f23d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-05-02 20:52:29 -07:00
qctecmdr
8f0707c3b2 Merge "clk: qcom: gdsc-regulator: correct gdsc_disable() success return value" 2020-05-02 20:22:54 -07:00
qctecmdr
3ba80746bb Merge "coresight: add sw usb mode support for tmc" 2020-05-02 20:22:54 -07:00
qctecmdr
6ebf3aed6d Merge "ARM: convert build of appended dtb zImage to list of dtbs" 2020-05-02 20:22:53 -07:00
qctecmdr
767553452e Merge "sched: Improve the scheduler" 2020-05-02 20:22:53 -07:00
qctecmdr
084a5df97c Merge "coresight: tmc: clear has_iommu flag when smmu is bypassed" 2020-05-02 15:19:03 -07:00
qctecmdr
9540b205e9 Merge "ucsi: ucsi_glink: notify partner information" 2020-05-02 15:19:02 -07:00
qctecmdr
4a43d0560b Merge "Revert "arm64: defconfig: Insert Adreno default governor in gki defconfig"" 2020-05-02 15:19:02 -07:00
qctecmdr
d6503522e1 Merge "haven: irq_lend: Use Linux IRQ numbers" 2020-05-02 15:19:02 -07:00
qctecmdr
29375aecce Merge "soc: qcom: service-locator: Add soft-dependency on QRTR" 2020-05-02 15:19:01 -07:00
Mahesh Sivasubramanian
2e36c317d1 clockevents: Add NULL definition for tick_broadcast on UP
For uniprocessor systems, add a NULL definition of tick_broadcast to
add support for tick broadcast.

Change-Id: I7dc47984cb6b60c9814171888f6adbc480a1e990
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2020-05-02 10:35:32 -07:00
qctecmdr
83cac1e0c8 Merge "drivers: qcom: rpmh_master_stat: remove stub function definition" 2020-05-02 10:14:16 -07:00
qctecmdr
5d8da363c2 Merge "Revert "arm64: defconfig: Remove IKHEADERS option"" 2020-05-02 10:14:16 -07:00
qctecmdr
e4441676ea Merge "ASoC: update uapi header for upstream compliance" 2020-05-02 10:14:15 -07:00
qctecmdr
cb30c9816d Merge "arm64: defconfig: Trim genericarmv8 defconfig" 2020-05-02 05:16:40 -07:00
qctecmdr
a2ebf03e30 Merge "wigig_sensing: fix driver state machine" 2020-05-02 05:16:40 -07:00
qctecmdr
9ba050d822 Merge "msm: adsprpc: remove excesive logging from debugfs during smmu probing" 2020-05-02 05:16:39 -07:00
qctecmdr
f902c046c2 Merge "cnss2: Fix a few issues during platform reboot or shutdown" 2020-05-02 05:16:39 -07:00