Re: [PATCH 01/11] staging: comedi: hwdrv_apci1500: introduce z8536_read()

2014-12-03 Thread Ian Abbott
On 02/12/14 17:19, H Hartley Sweeten wrote: The Z8536 CIO registers are indirectly read by writing the register value I think you mean the register offset. (That also applies to patch 2.) to the control register then reading the control register. Introduce a helper function to read the

Re: [PATCH 01/11] staging: comedi: hwdrv_apci1500: introduce z8536_read()

2014-12-03 Thread Ian Abbott
On 02/12/14 17:19, H Hartley Sweeten wrote: The Z8536 CIO registers are indirectly read by writing the register value to the control register then reading the control register. Introduce a helper function to read the Z8536 CIO registers. Signed-off-by: H Hartley Sweeten

[PATCH 01/11] staging: comedi: hwdrv_apci1500: introduce z8536_read()

2014-12-02 Thread H Hartley Sweeten
The Z8536 CIO registers are indirectly read by writing the register value to the control register then reading the control register. Introduce a helper function to read the Z8536 CIO registers. Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com Cc: Ian Abbott abbo...@mev.co.uk Cc: Greg