diff options
| author | Oliver Neukum <[email protected]> | 2022-06-29 13:26:38 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-29 19:02:28 +0000 |
| commit | df574080fad0d73f7aaf472a0fa45ea3f18230e0 (patch) | |
| tree | 38dc2236e87141f199c62c794ad64f9cc6d1a738 | |
| parent | usb: musb: mpfs: add missing clk_disable_unprepare() in mpfs_remove() (diff) | |
| download | kernel-df574080fad0d73f7aaf472a0fa45ea3f18230e0.tar.gz kernel-df574080fad0d73f7aaf472a0fa45ea3f18230e0.zip | |
USB: cdc-acm: use define for timeout
We have a symbolic name for the standard timeout.
Use it. No functional change intended.
Signed-off-by: Oliver Neukum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/usb/class/cdc-acm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 9b9aea24d58c..fedf3065670e 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -119,7 +119,7 @@ static int acm_ctrl_msg(struct acm *acm, int request, int value, retval = usb_control_msg(acm->dev, usb_sndctrlpipe(acm->dev, 0), request, USB_RT_ACM, value, acm->control->altsetting[0].desc.bInterfaceNumber, - buf, len, 5000); + buf, len, USB_CTRL_SET_TIMEOUT); dev_dbg(&acm->control->dev, "%s - rq 0x%02x, val %#x, len %#x, result %d\n", |
