Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 651c114f authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: glink: Unlock the lock under retry transmission scenario



When the transport tells the packet scheduler to retry transmission, unlock
the locks that are locked earlier. This ensures that the scheduler does
not stall during the retry attempt.

Change-Id: I5cc25c0ecd6b24e82dfa6474c81fdef67bceab13
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 8d8e42e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4160,6 +4160,7 @@ static void tx_work_func(struct work_struct *work)
			 * transport unable to send at the moment and will call
			 * tx_resume() when it can send again.
			 */
			mutex_unlock(&ch_ptr->tx_lists_mutex_lhc3);
			break;
		} else if (ret < 0) {
			/*