From: H Hartley Sweeten Date: Tue, 20 Jan 2015 21:53:08 +0000 (-0700) Subject: staging: comedi: adv_pci1710: use comedi_subdevice 'readback' X-Git-Tag: fixes-v4.0-rc1~99^2~222 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4623cee9ebaa114c367160728cd1d7f9d2c615d;p=pandora-kernel.git staging: comedi: adv_pci1710: use comedi_subdevice 'readback' Use the new comedi_subdevice 'readback' member and the core provided (*insn_read) for the readback of the analog output subdevice channels. The board is "reset" prior to the subdevice init. Part of this reset sets all the analog output channels to 0V. Move the initialization of the 'readback' values after the 'readback' member has been allocated. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed