dmaengine: shdma: SH_DMAC_MAX_CHANNELS message fix
authorMagnus Damm <damm@opensource.se>
Thu, 9 Jun 2011 06:35:08 +0000 (06:35 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Jun 2011 06:03:07 +0000 (15:03 +0900)
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 <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found