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

Commit bd90fbc4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: bam: Reset USB BAM on connect"

parents 047db200 623a4116
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2105,7 +2105,7 @@ int usb_bam_connect_ipa(struct usb_bam_connect_ipa_params *ipa_params)
	 /* Check if BAM requires RESET before connect and reset first pipe */
	 spin_lock(&usb_bam_lock);
	 if ((pdata->reset_on_connect[cur_bam] == true) &&
	     (ctx.pipes_enabled_per_bam[cur_bam] == 0) && bam2bam) {
	     (ctx.pipes_enabled_per_bam[cur_bam] == 0)) {
		spin_unlock(&usb_bam_lock);

		if (cur_bam != HSIC_CTRL)