Part Number: ADS1293
Hi,
First of all, I know that there is no official Linux kernel driver for ADS1293, so I'm developing a one.
I'm stuck at understanding how to read for ADS1293 and how to fill in the read buffer,

In the datasheet it says that any access is 16-bits long, I'm confused when I need to read only.
For the moment, I'm filling 1 byte buffer with the register to read and then change the first bit with 1 for the read operation, like this:
static int ads1293_read_reg8(struct spi_device *spi, int reg)
{
int val;
reg = reg | 0x80;
val = spi_w8r8(spi, reg);
return val;
}