From: H Hartley Sweeten Date: Mon, 12 Jan 2015 17:56:13 +0000 (-0700) Subject: staging: comedi: das16 introduce das16_alloc_dma() X-Git-Tag: fixes-v4.0-rc1~99^2~403 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7447cd60a3700aa915b45e18afddd338eaaec117;p=pandora-kernel.git staging: comedi: das16 introduce das16_alloc_dma() DMA is optional with this driver. Introduce a helper function to request the DMA channel and allocate the buffers. Don't fail the driver attach if the user passed an invalid DMA channel or the channel cannot be requested. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed