From: H Hartley Sweeten Date: Wed, 3 Dec 2014 18:25:34 +0000 (-0700) Subject: staging: comedi: hwdrv_apci1500: introduce z8536_reset() X-Git-Tag: fixes-v4.0-rc1~99^2~614 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34373cd08810fcf7b55a89866081e09e91e43ace;p=pandora-kernel.git staging: comedi: hwdrv_apci1500: introduce z8536_reset() Introduce a helper function to reset the Z8536 CIO device. Spinlock the initial reset of the Z8536 chip that puts it in State 0. The z8536_{read,write} operations already do the spinlock to protect the indirect register access. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed