diff --git a/[refs] b/[refs] index 5d5e7a64f474..d9f1169d33ce 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2930d0ba656d035d01a2cac37b6fe1250df16c28 +refs/heads/master: 52a07cde495ccca9212b3f725b606c75e8d89a2e diff --git a/trunk/drivers/staging/comedi/drivers/dt2801.c b/trunk/drivers/staging/comedi/drivers/dt2801.c index d332269375ab..b6481bc3b2d8 100644 --- a/trunk/drivers/staging/comedi/drivers/dt2801.c +++ b/trunk/drivers/staging/comedi/drivers/dt2801.c @@ -532,7 +532,7 @@ static int dt2801_dio_insn_bits(struct comedi_device *dev, { int which = 0; - if (s == dev->subdevices + 4) + if (s == dev->subdevices + 3) which = 1; if (data[0]) { @@ -555,7 +555,7 @@ static int dt2801_dio_insn_config(struct comedi_device *dev, { int which = 0; - if (s == dev->subdevices + 4) + if (s == dev->subdevices + 3) which = 1; /* configure */