Commit ea8712de authored by Alessandro Rubini's avatar Alessandro Rubini

zio-gpio: fix *put_cset to return zero (see 6f8f0bb5)

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
Acked-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent 7fa66fac
......@@ -55,7 +55,7 @@ static int zgp_output(struct zio_cset *cset)
for (i = 0; i < zgp_nout; i++)
gpio_set_value(zgp_out[i], datum & (1 << i));
}
return 1; /* done */
return 0; /* done */
}
/* Similarly, this inputs a cset. Again, currently one channel only */
......@@ -80,7 +80,7 @@ static int zgp_input(struct zio_cset *cset)
((unsigned char *)block->data)[j] = datum;
}
}
return 1; /* done */
return 0; /* done */
}
static struct zio_device_operations zgp_d_op = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment