diff options
author | Holger Nelson <hnelson@hnelson.de> | 2011-12-28 18:55:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-06 11:37:07 -0200 |
commit | 8ab3362665a699bd54fc489ff7fb6372678b94c1 (patch) | |
tree | 05baa99a41717f5abdd9f690488d22ffe63c0833 /drivers/media/video/em28xx/em28xx-reg.h | |
parent | 4d28d3d9978b84326a4608c25bda484973bba0a6 (diff) | |
download | linux-3.10-8ab3362665a699bd54fc489ff7fb6372678b94c1.tar.gz linux-3.10-8ab3362665a699bd54fc489ff7fb6372678b94c1.tar.bz2 linux-3.10-8ab3362665a699bd54fc489ff7fb6372678b94c1.zip |
[media] em28xx: Reworked probe code to get rid of some hacks
Reworked device probing to get rid of hacks to guess the maximum size of
dvb iso transfer packets. The new code also selects the first alternate
config which supports the largest possible iso transfers for dvb.
[mchehab@redhat.com: Fix a few checkpatch.pl CodingStyle compliants]
Signed-off-by: Holger Nelson <hnelson@hnelson.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-reg.h')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-reg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-reg.h b/drivers/media/video/em28xx/em28xx-reg.h index 66f792361b9..2f626850572 100644 --- a/drivers/media/video/em28xx/em28xx-reg.h +++ b/drivers/media/video/em28xx/em28xx-reg.h @@ -12,6 +12,11 @@ #define EM_GPO_2 (1 << 2) #define EM_GPO_3 (1 << 3) +/* em28xx endpoints */ +#define EM28XX_EP_ANALOG 0x82 +#define EM28XX_EP_AUDIO 0x83 +#define EM28XX_EP_DIGITAL 0x84 + /* em2800 registers */ #define EM2800_R08_AUDIOSRC 0x08 |