]> git.karo-electronics.de Git - karo-tx-linux.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>
Sun, 10 Jul 2011 19:38:53 +0000 (16:38 -0300)
commitf6680b6186d94959ccf960be8b122ef16fe93745
tree2f9205026492003bdc67cab3a8b115c53d7b90dc
parentceef8f83c1a03f314db048fd02bd153766359267
[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