[PATCH 4/4] staging: comedi: drivers: use comedi_dio_insn_config() for complex cases

Ian Abbott abbotti at mev.co.uk
Tue Aug 6 14:17:28 UTC 2013


On 2013-08-05 23:01, H Hartley Sweeten wrote:
> Convert the drivers with complex, port programmable i/o, to use the
> comedi_dio_insn_config() helper function.
>
> All of these drivers have some sort of 'port' programmable i/o where multiple
> i/o channels are configured as a group. The 'mask' associated with the group
> is passed to comedi_dio_insn_config() so that all the channels are configured.
>
> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Ian Abbott <abbotti at mev.co.uk>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>

Reviewed-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-


More information about the devel mailing list