mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Remove target_lock from watermarks_set functions
If watermarks are going to be used, the should be set as part of a single threaded initialization sequence. Change-Id: I3e1e9cd0f55f46d9f46718c139963931311fe8ae CRs-Fixed: 941355
This commit is contained in:
parent
9a831ef180
commit
2893aff03f
1 changed files with 0 additions and 4 deletions
|
|
@ -607,10 +607,8 @@ ce_send_watermarks_set(struct CE_handle *copyeng,
|
|||
uint32_t ctrl_addr = CE_state->ctrl_addr;
|
||||
struct ol_softc *scn = CE_state->scn;
|
||||
|
||||
cdf_spin_lock(&scn->target_lock);
|
||||
CE_SRC_RING_LOWMARK_SET(scn, ctrl_addr, low_alert_nentries);
|
||||
CE_SRC_RING_HIGHMARK_SET(scn, ctrl_addr, high_alert_nentries);
|
||||
cdf_spin_unlock(&scn->target_lock);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -622,12 +620,10 @@ ce_recv_watermarks_set(struct CE_handle *copyeng,
|
|||
uint32_t ctrl_addr = CE_state->ctrl_addr;
|
||||
struct ol_softc *scn = CE_state->scn;
|
||||
|
||||
cdf_spin_lock(&scn->target_lock);
|
||||
CE_DEST_RING_LOWMARK_SET(scn, ctrl_addr,
|
||||
low_alert_nentries);
|
||||
CE_DEST_RING_HIGHMARK_SET(scn, ctrl_addr,
|
||||
high_alert_nentries);
|
||||
cdf_spin_unlock(&scn->target_lock);
|
||||
}
|
||||
|
||||
unsigned int ce_send_entries_avail(struct CE_handle *copyeng)
|
||||
|
|
|
|||
Loading…
Reference in a new issue