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

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

Merge "diag: Do not reset SMD buffers if USB write fails"

parents 8a9b64d1 039e82ee
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -417,7 +417,6 @@ int diag_process_smd_read_data(struct diag_smd_info *smd_info, void *buf,
		if (err) {
			pr_err_ratelimited("diag: In %s, diag_device_write error: %d\n",
					   __func__, err);
			*in_busy_ptr = 0;
		}
		spin_unlock_irqrestore(&smd_info->in_busy_lock, flags);
	}