Commit 2dc37af0 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rename PIPEnsBulkInUsbRead to vnt_submit_rx_urb

The function just submits to rx urbs.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ceebd903
...@@ -603,7 +603,7 @@ static bool device_alloc_bufs(struct vnt_private *priv) ...@@ -603,7 +603,7 @@ static bool device_alloc_bufs(struct vnt_private *priv)
rcb->bBoolInUse = false; rcb->bBoolInUse = false;
/* submit rx urb */ /* submit rx urb */
if (PIPEnsBulkInUsbRead(priv, rcb)) if (vnt_submit_rx_urb(priv, rcb))
goto free_rx_tx; goto free_rx_tx;
} }
......
...@@ -225,7 +225,7 @@ static void vnt_start_interrupt_urb_complete(struct urb *urb) ...@@ -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; int status = 0;
struct urb *urb; struct urb *urb;
......
...@@ -39,7 +39,7 @@ void vnt_control_out_u8(struct vnt_private *, u8, u8, u8); ...@@ -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 *); void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *);
int vnt_start_interrupt_urb(struct vnt_private *); 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 *); int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *);
#endif /* __USBPIPE_H__ */ #endif /* __USBPIPE_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment