From: H Hartley Sweeten Date: Tue, 18 Jun 2013 20:25:15 +0000 (-0700) Subject: staging: comedi: pcmuio: introduce pcmuio_read() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89aaa92adffa5c57d9c2a545c7cb9809ddd3b615;p=pandora-kernel.git staging: comedi: pcmuio: introduce pcmuio_read() Introduce a helper function to handle reading a 24-bit value from the three 8-bit registers associated with a "port" or "page". Simplify the for() loop in pcmuio_handle_asic_interrupt() that finds which channels have triggered the interrupt. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed