Skip to content

Commit

Permalink
V4L/DVB: em28xx: adjust number of packets per URB
Browse files Browse the repository at this point in the history
Increase the packets per URB count from 40 to 64.  I suspect that whoever was
looking at the usbsnoop captures saw "0x40" packets and mistook it for "40".

As a result of this change, I can see a 25% reduction in the number of
interrupts generated via powertop.

This work was sponsored by EyeMagnet Limited.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent f0dbf82 commit 33c02fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@
#define EM28XX_NUM_BUFS 5

/* number of packets for each buffer
windows requests only 40 packets .. so we better do the same
windows requests only 64 packets .. so we better do the same
this is what I found out for all alternate numbers there!
*/
#define EM28XX_NUM_PACKETS 40
#define EM28XX_NUM_PACKETS 64

#define EM28XX_INTERLACED_DEFAULT 1

Expand Down

0 comments on commit 33c02fa

Please sign in to comment.