[media] em28xx: check if a device has audio earlier
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 27 Dec 2013 03:16:13 +0000 (00:16 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 07:11:59 +0000 (05:11 -0200)
commitb99f0aadd33fad269c8e62b5bec8b5c012a44a56
treed0836373a7c51f1e8d63be445ccbf391ec952770
parent9634614f35ec17a4af8660c025122b477dad7d0b
[media] em28xx: check if a device has audio earlier

Better to split chipset detection from the audio setup. So, move the
detection code to em28xx_init_dev().

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-cards.c
drivers/media/usb/em28xx/em28xx-core.c