diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-15 18:54:41 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-15 19:11:40 (GMT) |
commit | 2dc37af09b255d01a90111cfea4e113b31d4be26 (patch) | |
tree | f7cec9e8ce410c9f402707186f0308ee88fba958 /drivers/staging/vt6656 | |
parent | ceebd9036a99309aeb3424f296835b0015919afb (diff) | |
download | linux-2dc37af09b255d01a90111cfea4e113b31d4be26.tar.xz |
staging: vt6656: rename PIPEnsBulkInUsbRead to vnt_submit_rx_urb
The function just submits to rx urbs.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/usbpipe.c | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/usbpipe.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 9890f7d..b1da23c 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -603,7 +603,7 @@ static bool device_alloc_bufs(struct vnt_private *priv) rcb->bBoolInUse = false; /* submit rx urb */ - if (PIPEnsBulkInUsbRead(priv, rcb)) + if (vnt_submit_rx_urb(priv, rcb)) goto free_rx_tx; } diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 54badfe..97ad3b6 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -225,7 +225,7 @@ static void vnt_start_interrupt_urb_complete(struct urb *urb) * */ -int PIPEnsBulkInUsbRead(struct vnt_private *priv, struct vnt_rcb *rcb) +int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb) { int status = 0; struct urb *urb; diff --git a/drivers/staging/vt6656/usbpipe.h b/drivers/staging/vt6656/usbpipe.h index 49c284f..e74aa08 100644 --- a/drivers/staging/vt6656/usbpipe.h +++ b/drivers/staging/vt6656/usbpipe.h @@ -39,7 +39,7 @@ void vnt_control_out_u8(struct vnt_private *, u8, u8, u8); void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *); int vnt_start_interrupt_urb(struct vnt_private *); -int PIPEnsBulkInUsbRead(struct vnt_private *, struct vnt_rcb *pRCB); +int vnt_submit_rx_urb(struct vnt_private *, struct vnt_rcb *); int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *); #endif /* __USBPIPE_H__ */ |