From: H Hartley Sweeten Date: Tue, 23 Apr 2013 01:33:22 +0000 (-0700) Subject: staging: comedi: das800: introduce das800_ind_{write, read}() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a8fc08910cfec7713801b7097e9a31c960339b8;p=pandora-kernel.git staging: comedi: das800: introduce das800_ind_{write, read}() The GAS800_GAIN register contains some bits that enable indirect writing to additional registers on the board through iobase + 2 and indirect reading of addition registers through iobase + 7. Introduce some helper functions to handle the indirect register write/read. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed