summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-core.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-04-17 17:41:28 -0400
committerSteven Toth <stoth@hauppauge.com>2008-04-17 17:41:28 -0400
commit359d1d58bc15a93bcede273e981430f6a11aba11 (patch)
tree7832a4718621add10069864e44d65324e775fa92 /linux/drivers/media/video/au0828/au0828-core.c
parentc66482edaa7064dafbf88c1dd33e7516fa45edcd (diff)
downloadmediapointer-dvb-s2-359d1d58bc15a93bcede273e981430f6a11aba11.tar.gz
mediapointer-dvb-s2-359d1d58bc15a93bcede273e981430f6a11aba11.tar.bz2
au0828: Cleanup
From: Steven Toth <stoth@hauppauge.com> au0828: Cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-core.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-core.c31
1 files changed, 6 insertions, 25 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-core.c b/linux/drivers/media/video/au0828/au0828-core.c
index e500e00d2..024bca881 100644
--- a/linux/drivers/media/video/au0828/au0828-core.c
+++ b/linux/drivers/media/video/au0828/au0828-core.c
@@ -146,26 +146,7 @@ static int recv_control_msg(struct au0828_dev *dev, u16 request, u32 value,
mutex_unlock(&dev->mutex);
return status;
}
-#if 0
-static void dump_urb(struct urb *urb)
-{
- dprintk(2, "urb :%p\n", urb);
- dprintk(2, "dev :%p\n", urb->dev);
- dprintk(2, "pipe :%08x\n", urb->pipe);
- dprintk(2, "status :%d\n", urb->status);
- dprintk(2, "transfer_flags :%08x\n", urb->transfer_flags);
- dprintk(2, "transfer_buffer :%p\n", urb->transfer_buffer);
- dprintk(2, "transfer_buffer_length:%d\n", urb->transfer_buffer_length);
- dprintk(2, "actual_length :%d\n", urb->actual_length);
- dprintk(2, "setup_packet :%p\n", urb->setup_packet);
- dprintk(2, "start_frame :%d\n", urb->start_frame);
- dprintk(2, "number_of_packets :%d\n", urb->number_of_packets);
- dprintk(2, "interval :%d\n", urb->interval);
- dprintk(2, "error_count :%d\n", urb->error_count);
- dprintk(2, "context :%p\n", urb->context);
- dprintk(2, "complete :%p\n", urb->complete);
-}
-#endif
+
static void au0828_usb_disconnect(struct usb_interface *interface)
{
struct au0828_dev *dev = usb_get_intfdata(interface);
@@ -200,7 +181,7 @@ static int au0828_usb_probe (struct usb_interface *interface,
if (ifnum != 0)
return -ENODEV;
- dprintk(1,"%s() vendor id 0x%x device id 0x%x ifnum:%d\n", __func__,
+ dprintk(1, "%s() vendor id 0x%x device id 0x%x ifnum:%d\n", __func__,
le16_to_cpu(usbdev->descriptor.idVendor),
le16_to_cpu(usbdev->descriptor.idProduct),
ifnum);
@@ -254,20 +235,20 @@ static int __init au0828_init(void)
{
int ret;
- if(debug)
+ if (debug)
printk(KERN_INFO "%s() Debugging is enabled\n", __func__);
- if(usb_debug) {
+ if (usb_debug) {
printk(KERN_INFO "%s() USB Debugging is enabled\n", __func__);
debug |= 2;
}
- if(i2c_debug) {
+ if (i2c_debug) {
printk(KERN_INFO "%s() I2C Debugging is enabled\n", __func__);
debug |= 4;
}
- if(bridge_debug) {
+ if (bridge_debug) {
printk(KERN_INFO "%s() Bridge Debugging is enabled\n",
__func__);
debug |= 8;