aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2010-01-21 23:53:17 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:50:13 -0400
commit33c02facb5a3123212587295cc1c241ee7e03adb (patch)
tree4a8beb803b8210624f76be000170fe684fd70244 /drivers
parentf0dbf82bf1ff97c24af228328fb21c93fcfcb983 (diff)
V4L/DVB: em28xx: adjust number of packets per URB
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/em28xx/em28xx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index ba6fe5daff84..526c06582158 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -140,10 +140,10 @@
140#define EM28XX_NUM_BUFS 5 140#define EM28XX_NUM_BUFS 5
141 141
142/* number of packets for each buffer 142/* number of packets for each buffer
143 windows requests only 40 packets .. so we better do the same 143 windows requests only 64 packets .. so we better do the same
144 this is what I found out for all alternate numbers there! 144 this is what I found out for all alternate numbers there!
145 */ 145 */
146#define EM28XX_NUM_PACKETS 40 146#define EM28XX_NUM_PACKETS 64
147 147
148#define EM28XX_INTERLACED_DEFAULT 1 148#define EM28XX_INTERLACED_DEFAULT 1
149 149