mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 21:23:23 +00:00
V4L/DVB (9252): au0828: Checkpatch compliance
au0828: Checkpatch compliance Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
9c8ced511e
commit
a8eb912c6d
@ -186,7 +186,7 @@ void au0828_gpio_setup(struct au0828_dev *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* table of devices that work with this driver */
|
/* table of devices that work with this driver */
|
||||||
struct usb_device_id au0828_usb_id_table [] = {
|
struct usb_device_id au0828_usb_id_table[] = {
|
||||||
{ USB_DEVICE(0x2040, 0x7200),
|
{ USB_DEVICE(0x2040, 0x7200),
|
||||||
.driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
|
.driver_info = AU0828_BOARD_HAUPPAUGE_HVR950Q },
|
||||||
{ USB_DEVICE(0x2040, 0x7240),
|
{ USB_DEVICE(0x2040, 0x7240),
|
||||||
|
@ -91,7 +91,8 @@ static int send_control_msg(struct au0828_dev *dev, u16 request, u32 value,
|
|||||||
status = usb_control_msg(dev->usbdev,
|
status = usb_control_msg(dev->usbdev,
|
||||||
usb_sndctrlpipe(dev->usbdev, 0),
|
usb_sndctrlpipe(dev->usbdev, 0),
|
||||||
request,
|
request,
|
||||||
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
|
USB_DIR_OUT | USB_TYPE_VENDOR |
|
||||||
|
USB_RECIP_DEVICE,
|
||||||
value, index,
|
value, index,
|
||||||
cp, size, 1000);
|
cp, size, 1000);
|
||||||
|
|
||||||
|
@ -173,7 +173,8 @@ static int start_urb_transfer(struct au0828_dev *dev)
|
|||||||
purb->status = -EINPROGRESS;
|
purb->status = -EINPROGRESS;
|
||||||
usb_fill_bulk_urb(purb,
|
usb_fill_bulk_urb(purb,
|
||||||
dev->usbdev,
|
dev->usbdev,
|
||||||
usb_rcvbulkpipe(dev->usbdev, _AU0828_BULKPIPE),
|
usb_rcvbulkpipe(dev->usbdev,
|
||||||
|
_AU0828_BULKPIPE),
|
||||||
purb->transfer_buffer,
|
purb->transfer_buffer,
|
||||||
URB_BUFSIZE,
|
URB_BUFSIZE,
|
||||||
urb_completion,
|
urb_completion,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user