Commit 6a247993218c ("usb: dwc3: gadget: Properly handle failed
kick_transfer") introduces a piece of code where if gadget_ep_cmd
fails in kick_transfer, it calls stop_active_transfer for that ep
& move the request from started_list to cancelled_list. Finally
it checks for DWC3_EP_END_TRANSFER_PENDING flag, if not set then
moves ahead and calls dwc3_gadget_cleanup_cancelled_request as part
of which gadget giveback for the request is called. This will
ultimately mean ep_queue failure as ep_queue returns the status of
kick_transfer.
Now from the function driver perspective, when ep_queue fails
it tries to add the request back to the pool from which the request
was queued.
But,since we did a cleanup_cancelled_request the completion handler
of the function driver is also called which tries to add the same
request back to the pool, resulting in a double add scenario.
Fix this by returning 0 from ep_queue rather then returning the
status of kick_transfer. For a function driver it would mean
ep_queue success and will not add the request back to read pool
and since we already are giving back the request as part of
cleanup_cancelled_requests, the request will be added back to
the pool and avoid the double add scenario.
Change-Id: I82bc21c34a795820998483c4a88e1891495a6906
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Add SOC ID to support socinfo for yupik-iot SoC.
Change-Id: Iad715ef092e7a68fb6a4c5e52f57b4ee110c335e
Signed-off-by: Vishwanath Raju K <vishk@codeaurora.org>
CDSPRM module implements a RPMSG interface to communicate with CDSP
while providing a way for CDSP to vote for CPU QoS to benefit CDSP
applications performance.Glink IRQ mostly is taken by the silver cluster.
CDSPRM driver vote for sliver cluster prevents collapsing gold cluster
This saves significant power.
Change-Id: I6cac71e7ab85d823dfc44b19dd85a0dde62455db
Acked-by: Sreekanth Gande <sgande@qti.qualcomm.com>
Signed-off-by: Bavyasritha Alahari <alahari@codeaurora.org>
Notify usb driver with extcon notification for
ss hub enumeration.
Change-Id: I3e6748a791bb424505aa937da52a99cd48b496a3
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
To boot guest vm, loader hotplugs required cpus and bring them back once
bootup is completed. On hotplug operations, it uses isolation mask
to print offline cpus, which is not right mask.
Use cpu online mask instead of isolation mask to represent guest vm's
hotplugged/hotunplugged cpus.
Change-Id: I2805203df068c1192349867b6dc690af6fc32797
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Correct the SDC1 rclk offset for configuration for
Yupik.
Change-Id: I81f8906ea662eb4d3e511841fb208388de75a25a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Enable Userspace and Ondemand cpufreq governors for
sdmsteppeauto target.
Change-Id: I21625164b29220f44ace9bb13d71ae9811a3a2b3
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Enable kernel configs needed to suppot ramdump on sdmsteppeauto
target. These drivers help to capture necessary debug information
in DDR and IMEM when the system crashes either after a panic
or due to any system lockup.
Change-Id: I09234c554e4e83d2c710583835b2e3f128d1a080
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Enable ION support configs on sdmsteppeauto target.
Change-Id: I6e171efa8c6a60f279af9e8108867f42314cb104
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
The existing boot_stats module captures the timestamps
of various events before the kernel start, like bootloader
start, kernel load time, etc.
Extend support to capture timestamps of events after kernel
starts execution. Users can call place_marker from different
points of execution to capture the timestamp.
Expose a sysfs node to read the complete list of events
captured by the boot_stats module.
Change-Id: Icbc2341b34fe7e2559a37c092a5ab74919703184
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Remove headers of older camera kernel which are not
needed in latest kernel.
Change-Id: Ieec7b1ae10f77fc34f07086498e57895aaa8c9af
Signed-off-by: E V Ravi <evenka@codeaurora.org>
This is required for registration of sound card.
Change-Id: I87cca20e54ab7a11359807850a20c0127e19a027
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>