From 300e5f97d2a32196cbe03104cd6ffe2af97d9338 Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Tue, 24 May 2011 10:31:20 +0000 Subject: [PATCH] dmaengine: shdma: Fix SH_DMAC_MAX_CHANNELS handling Fix the shdma.c handing of SH_DMAC_MAX_CHANNELS to avoid overwriting the chan_irq[] and chan_flag[] arrays in the case of pdata->channel_num is larger than SH_DMAC_MAX_CHANNELS. With this patch applied up to SH_DMAC_MAX_CHANNELS will be used by the shdma.c driver. If more channels are available in the platform data the user will be notified on the console. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-format-patch failed