Commit 9af49fdb authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: PIPEnsControlIn remove camel case.

Camel case changes
pDevice, byRequest,  wValue, wIndex, wLength, pbyBuffer, ntStatus

->

priv, request, value, index, length, buffer, status
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f06a739
...@@ -83,23 +83,23 @@ int PIPEnsControlOut(struct vnt_private *priv, u8 request, u16 value, ...@@ -83,23 +83,23 @@ int PIPEnsControlOut(struct vnt_private *priv, u8 request, u16 value,
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
int PIPEnsControlIn(struct vnt_private *pDevice, u8 byRequest, u16 wValue, int PIPEnsControlIn(struct vnt_private *priv, u8 request, u16 value,
u16 wIndex, u16 wLength, u8 *pbyBuffer) u16 index, u16 length, u8 *buffer)
{ {
int ntStatus; int status;
if (pDevice->Flags & fMP_DISCONNECTED) if (priv->Flags & fMP_DISCONNECTED)
return STATUS_FAILURE; return STATUS_FAILURE;
mutex_lock(&pDevice->usb_lock); mutex_lock(&priv->usb_lock);
ntStatus = usb_control_msg(pDevice->usb, status = usb_control_msg(priv->usb,
usb_rcvctrlpipe(pDevice->usb, 0), byRequest, 0xc0, wValue, usb_rcvctrlpipe(priv->usb, 0), request, 0xc0, value,
wIndex, pbyBuffer, wLength, USB_CTL_WAIT); index, buffer, length, USB_CTL_WAIT);
mutex_unlock(&pDevice->usb_lock); mutex_unlock(&priv->usb_lock);
if (ntStatus < (int)wLength) if (status < (int)length)
return STATUS_FAILURE; return STATUS_FAILURE;
return STATUS_SUCCESS; return STATUS_SUCCESS;
......
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