[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)
commit90796acad0027db957a282787a4dab7d0bb52ef1
tree15f62126a7285601c8880dfe2d73c19ec6925b84
parent9c6e18280091ee2cf78bfb33a1770b5b59c8afae
[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