From: H Hartley Sweeten Date: Fri, 20 Jun 2014 20:13:01 +0000 (-0700) Subject: staging: comedi: dt282x: fix bug where DIO direction is reset to inputs X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1524 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c50d32de3707ee8165eaeaa319c5c13d12ea0669;p=pandora-kernel.git staging: comedi: dt282x: fix bug where DIO direction is reset to inputs The direction of the 16 DIO channels is controlled with two bits in the DACSR register. The HBOE bit controls the direction of channels 15-8 and the LBOE bit channels 7-0. The DACSR register is also used to control the Analog Output async command support. Currently, starting or canceling an Analog Output command would also reset the DIO directions so that all channels were inputs. Fix the driver so that the DIO direction is not changed when starting or canceling an Analog Output async command. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed