]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitdcee0bb713d0ba0d32c5ce6fe0c5aa22e6fc274a
tree9405bd5a07f694ac53bea9f49adad2d5ad80c96a
parent5bdbd4fa4df6891a6644d588c9a30d30e7c0af8e
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 <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/shdma.c