OSDN Git Service

V4L/DVB: cx18: rework cx18-alsa module loading to support automatic loading
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Fri, 20 Nov 2009 04:15:54 +0000 (01:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:43 +0000 (15:10 -0300)
commitd68b687b1e322e7325b1458d799e8234997e4ccd
tree57b63b7f8ec2505582a944df31e6139f60c9265a
parent4a8cfe6a5c158133f57c2e8476f259366d4bdc4d
V4L/DVB: cx18: rework cx18-alsa module loading to support automatic loading

Restructure the way the module gets loaded so that it gets loaded automatically
when cx18 is loaded, and make it work properly if there are multiple cards
present (since the old code would only take one opportunity to connect to cx18
instances when the module first loaded).

This work was sponsored by ONELAN Limited.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-alsa-main.c
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/cx18/cx18-driver.h