From: Magnus Damm Date: Tue, 24 May 2011 10:31:12 +0000 (+0000) Subject: dmaengine: shdma: Make second memory window optional X-Git-Tag: v3.0-rc1~155^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26fc02ab5551349b2e593829a76cb44328ee7f61;p=pandora-kernel.git dmaengine: shdma: Make second memory window optional This patch makes the shdma.c driver allow slave operation on DMA hardware mapped with a single I/O-memory window. The dmae_set_dmars() function is adjusted to use the first memory window in case of a missing DMARS window. At probe() time the code is updated to enable DMA_SLAVE only if slave information is passed with the platform data. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed