From: Magnus Damm Date: Thu, 9 Jun 2011 06:35:08 +0000 (+0000) Subject: dmaengine: shdma: SH_DMAC_MAX_CHANNELS message fix X-Git-Tag: v3.0-rc4~29^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcee0bb713d0ba0d32c5ce6fe0c5aa22e6fc274a;p=pandora-kernel.git dmaengine: shdma: SH_DMAC_MAX_CHANNELS message fix Fix the recently added SH_DMAC_MAX_CHANNELS handling code in 300e5f9 dmaengine: shdma: Fix SH_DMAC_MAX_CHANNELS handling Without this fix the shdma driver outputs silly messages in case SH_DMAC_MAX_CHANNELS happens to match the platform data: sh-dma-engine sh-dma-engine.0: Attempting to register 20 DMA channels when a max imum of 20 are supported. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed