With rapid hotplug test case there could be a corner case when the SD card
can go bad and removed quickly even before we try to reset the card as
part of recovery.
This will lead to reset failure with ENOMEDIUM and since recovery failed
so we set the corrupted_card flag and try to remove the card.
Since corrupted_card will be set so as part of rescan we'll remove the
card and return before setting the bus_refs properly leading to card not
getting detected after this.
Only return after setting host->bus_refs properly when card is set as
corrupted.
Change-Id: Id14790f9b28d8fa58d31b034be48db5486ccfcb7
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Configure QoS settings during probe for all nodes instead of
for each node individually upon first client request.
Change-Id: If90969f0ace7d773ed3808670f0bcb54c308970e
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Add wake locks to prevent A7 from going into suspend.
Change-Id: I46384d957593a461fdd3b24830bd27b19cad3425
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
Update the offset registers based on the scshrike v2 hw.
Change-Id: Idc5ced25e8a8bf26df03b35fd2e306151d766da7
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
USB secondary clocks and pm8008 clocks are not registered with the
clock framework, hence update these clocks to measure only.
Change-Id: I134119cb4ae5ef372aaaa81e6b56ffd68387985d
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
Add set_flags op in clk_regmap_ops and update the
set_flags op for branch's clk_regmap_ops.
Update qcom_clk_set_flags to use clk_regmap_ops
for invoking the set_flags op.
Change-Id: I82b699e04854e5d9dcc0e82caccf33fe3dd85315
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Add and remove headers which are missing and additionally added
to resolve compilation issues.
Change-Id: I2bdc34a33c13f84916d4e7570c579bfc2b1e9c98
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
The current register write to DBM_GEN_CFG to update the current speed
is overwriting the entire register. Avoid this, as this also
disables ZLT support on DBM. During validation of QDSS, a QDSS data
stall was seen, as the QDSS BAM generated a ZLT, while DBM did not
enable it. DBM ZLT support is recommended to be enabled in the HPG.
Change-Id: Ieef4a42d3ac6f2a836a5c25530492c95669047b0
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
There is a case where of-thermal invokes thermal zone re-evaluation
for a zone even if it is disabled during sensor violation. It may
lead to thermal zone throttling even if that thermal zone is disabled.
Update of-thermal to re-evaluate thermal zone only if it is in
enabled state.
Change-Id: I0764d4719668231d27b4e264c46e5593653d90b3
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>