Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (247 commits) [media] gspca - sunplus: Fix some warnings and simplify code [media] gspca: Fix some warnings tied to 'no debug' [media] gspca: Unset debug by default [media] gspca - cpia1: Remove a bad conditional compilation instruction [media] gspca - main: Remove USB traces [media] gspca - main: Version change to 2.13 [media] gspca - stk014 / t613: Accept the index 0 in querymenu [media] gspca - kinect: Remove __devinitdata [media] gspca - cpia1: Fix some warnings [media] video/Kconfig: Fix mis-classified devices [media] support for medion dvb stick 1660:1921 [media] tm6000: fix uninitialized field, change prink to dprintk [media] cx231xx: Add support for Iconbit U100 [media] saa7134 add new TV cards [media] Use a more consistent value for RC repeat period [media] cx18: Move spinlock and vb_type initialisation into stream_init [media] tm6000: remove tm6010 sif audio start and stop [media] tm6000: remove unused exports [media] tm6000: add pts logging [media] tm6000: change from ioctl to unlocked_ioctl ...
This commit is contained in:
@@ -570,6 +570,7 @@ static void incoming_packet(struct sasem_context *context,
|
||||
unsigned char *buf = urb->transfer_buffer;
|
||||
long ms;
|
||||
struct timeval tv;
|
||||
int i;
|
||||
|
||||
if (len != 8) {
|
||||
printk(KERN_WARNING "%s: invalid incoming packet size (%d)\n",
|
||||
@@ -577,12 +578,12 @@ static void incoming_packet(struct sasem_context *context,
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
int i;
|
||||
for (i = 0; i < 8; ++i)
|
||||
printk(KERN_INFO "%02x ", buf[i]);
|
||||
printk(KERN_INFO "\n");
|
||||
#endif
|
||||
if (debug) {
|
||||
printk(KERN_INFO "Incoming data: ");
|
||||
for (i = 0; i < 8; ++i)
|
||||
printk(KERN_CONT "%02x ", buf[i]);
|
||||
printk(KERN_CONT "\n");
|
||||
}
|
||||
|
||||
/*
|
||||
* Lirc could deal with the repeat code, but we really need to block it
|
||||
|
||||
Reference in New Issue
Block a user