commit | 90f39b9f996a6de8da850a71502ab2bef24cfe9b | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Apr 08 12:41:37 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 28 22:16:10 2016 -0700 |
tree | 56f7accbf6bcbc46cccb83ce0eaa4bb261b41bf0 | |
parent | 7a9254962bf3b636a3c04da69e94bc00da7d5935 [diff] |
staging: comedi: das1800: use comedi_offset_munge() for analog output The analog outputs expect 2's complement data. For aesthetics, use the helper function to handle the munging instead of depending on the boardinfo 'resolution'. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>