[media] em28xx: Reworked probe code to get rid of some hacks
authorHolger Nelson <hnelson@hnelson.de>
Wed, 28 Dec 2011 21:55:41 +0000 (18:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 13:37:07 +0000 (11:37 -0200)
commit8ab3362665a699bd54fc489ff7fb6372678b94c1
tree05baa99a41717f5abdd9f690488d22ffe63c0833
parent4d28d3d9978b84326a4608c25bda484973bba0a6
[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>
drivers/media/video/em28xx/em28xx-audio.c
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-core.c
drivers/media/video/em28xx/em28xx-dvb.c
drivers/media/video/em28xx/em28xx-reg.h
drivers/media/video/em28xx/em28xx.h