]> git.baikalelectronics.ru Git - kernel.git/commit
[media] drxk: Improves the UIO handling
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 10 Jul 2011 12:36:30 +0000 (09:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:55:50 +0000 (17:55 -0300)
commit892fc5be96eae0a45e2373f7b06cbd4e98939f8a
tree15f62126a7285601c8880dfe2d73c19ec6925b84
parent23ea1ef9c448661ce163961d8b4fc32c3debc9d1
[media] drxk: Improves the UIO handling

The driver is too limited: it assumes that UIO is used only for
controlling the antenna, and that only UIO-1 is in usage. However,
from Terratec H7 driver [1], 3 UIO's can be used. In fact, it seems
that H7 needs to use all 3. So, make the code generic enough to handle
the most complex scenario. For now, only antena GPIO can be specified,
but is is easier now to add the other GPIO/UIO needs.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxk.h
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/drxk_hard.h