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

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

Merge "usb: gadget: qti: Move pr_err to pr_err_ratelimiated with EP_LOOKUP"

parents 00e9f097 0ab4f07d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -565,13 +565,13 @@ static long qti_ctrl_ioctl(struct file *fp, unsigned cmd, unsigned long arg)
							port->gtype);
		val = atomic_read(&port->connected);
		if (!val) {
			pr_err("EP_LOOKUP failed - not connected");
			pr_err_ratelimited("EP_LOOKUP failed: not connected\n");
			ret = -EAGAIN;
			break;
		}

		if (port->ipa_prod_idx == -1 && port->ipa_cons_idx == -1) {
			pr_err("EP_LOOKUP failed - ipa pipes were not updated\n");
			pr_err_ratelimited("EP_LOOKUP ipa pipes not updated\n");
			ret = -EAGAIN;
			break;
		}