diff options
author | Felipe Balbi <balbi@ti.com> | 2014-09-05 09:47:44 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-05 09:54:00 -0500 |
commit | 3ece0ec474bf3cea9eefa7f92e3d4b6c3f9f71fd (patch) | |
tree | 4a91ef4fe2051e38f8f03b5a4776aeff830b1a04 /drivers/usb/dwc3/gadget.c | |
parent | e996061b9632d2ac7d00112208c644328c2411d5 (diff) | |
download | op-kernel-dev-3ece0ec474bf3cea9eefa7f92e3d4b6c3f9f71fd.zip op-kernel-dev-3ece0ec474bf3cea9eefa7f92e3d4b6c3f9f71fd.tar.gz |
usb: dwc3: gadget: cmd argument should always be unsigned
No functional changes, just making sure we're dealing
with unsigned ints.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 77c49a6..096b638 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -273,7 +273,7 @@ void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, spin_lock(&dwc->lock); } -int dwc3_send_gadget_generic_command(struct dwc3 *dwc, int cmd, u32 param) +int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) { u32 timeout = 500; u32 reg; |