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

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

Merge "usb: composite: don't print the invalid function wakeup failure messages"

parents 7b097349 79614cb2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ int usb_func_wakeup(struct usb_function *func)
			"Function wakeup for %s could not complete due to suspend state. Delayed until after bus resume.\n",
			func->name ? func->name : "");
		ret = 0;
	} else if (ret < 0) {
	} else if (ret < 0 && ret != -ENOTSUPP) {
		ERROR(func->config->cdev,
			"Failed to wake function %s from suspend state. ret=%d. Canceling USB request.\n",
			func->name ? func->name : "", ret);
@@ -1921,7 +1921,7 @@ composite_resume(struct usb_gadget *gadget)
						"Function wakeup for %s could not complete due to suspend state.\n",
						f->name ? f->name : "");
					break;
				} else {
				} else if (ret != -ENOTSUPP) {
					ERROR(f->config->cdev,
						"Failed to wake function %s from suspend state. ret=%d. Canceling USB request.\n",
						f->name ? f->name : "",