]> 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)
commit9000cc01a292936345aaf44d08221f2d667f72a3
tree9405bd5a07f694ac53bea9f49adad2d5ad80c96a
parentabb35eae84a14fc3a53b9d6204bd6f45a780aeb0
dmaengine: shdma: SH_DMAC_MAX_CHANNELS message fix

Fix the recently added SH_DMAC_MAX_CHANNELS handling code in
9d87f56 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