summaryrefslogtreecommitdiff
path: root/pciradio.c
diff options
context:
space:
mode:
Diffstat (limited to 'pciradio.c')
-rwxr-xr-xpciradio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pciradio.c b/pciradio.c
index e2e0fee..3351bb7 100755
--- a/pciradio.c
+++ b/pciradio.c
@@ -806,11 +806,14 @@ static void pciradio_interrupt(int irq, void *dev_id, struct pt_regs *regs)
if (rad->radmode[x] & RADMODE_EXTTONE)
{
unsigned mask = 1 << (x + 4);
+ unsigned char byteuio;
+ /* get UIO input */
+ byteuio = __pciradio_getcreg(rad,1);
if (rad->radmode[x] & RADMODE_EXTINVERT)
- gotctcss = gotslowctcss = ((byte2 & mask) == 0);
+ gotctcss = gotslowctcss = ((byteuio & mask) == 0);
else
- gotctcss = gotslowctcss = ((byte2 & mask) != 0);
+ gotctcss = gotslowctcss = ((byteuio & mask) != 0);
}
rad->gotct[x] = gotslowctcss;
if (rad->radmode[x] & RADMODE_IGNORECT)