]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68087f96139295ba47e0c2d941b3bf222070f274
tree9405bd5a07f694ac53bea9f49adad2d5ad80c96a
parentcc0e98962dec3a23ca9c6fa84b51441bd99a7dd4
dmaengine: shdma: SH_DMAC_MAX_CHANNELS message fix

Fix the recently added SH_DMAC_MAX_CHANNELS handling code in
a74166c 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>
drivers/dma/shdma.c