qcacld-3.0: Replace target_lock with ce_index_lock

Target_lock was a global lock for all target and copy engine data
structure access. Replacing target_lock with a per copy engine
lock permits paralel completion handling for different copy engines.

Change-Id: I9c09d557c85f9e48beafe5e3f936e105183ddd3f
CRs-Fixed: 941355
This commit is contained in:
Houston Hoffman
2015-09-03 17:01:22 -07:00
committed by Satish Singh
vanhempi 15ec6c6895
commit a499f30bd5
5 muutettua tiedostoa jossa 47 lisäystä ja 50 poistoa

Näytä tiedosto

@@ -290,7 +290,6 @@ struct ol_softc {
* Guard changes to Target HW state and to software
* structures that track hardware state.
*/
cdf_spinlock_t target_lock;
unsigned int ce_count; /* Number of Copy Engines supported */
struct CE_state *ce_id_to_state[CE_COUNT_MAX]; /* CE id to CE_state */
#ifdef FEATURE_NAPI