Skip to content

Commit

Permalink
[media] au0828: set max packets per URB to match Windows driver
Browse files Browse the repository at this point in the history
We had the max packets per URB set to an incredibly low "10" as opposed to
the Windows driver which has it as 128.  Set the value to match the
Windows driver, which will reduce interrupts considerably.

This work was sponsored by GetWellNetwork Inc.

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 Dec 29, 2010
1 parent 8846410 commit 83f859c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/au0828/au0828.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

/* Defination for AU0828 USB transfer */
#define AU0828_MAX_ISO_BUFS 12 /* maybe resize this value in the future */
#define AU0828_ISO_PACKETS_PER_URB 10
#define AU0828_ISO_PACKETS_PER_URB 128

#define AU0828_MIN_BUF 4
#define AU0828_DEF_BUF 8
Expand Down

0 comments on commit 83f859c

Please sign in to comment.