Magnus Damm
300e5f97d2
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 <damm@opensource.se >
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2011-05-25 11:36:15 +09:00
..
2011-05-23 15:39:34 -07:00
2011-05-20 14:31:27 -07:00
2011-05-20 13:43:21 -07:00
2011-05-23 09:12:26 -07:00
2011-05-22 21:41:57 -07:00
2011-05-23 12:23:20 -07:00
2011-05-23 09:08:19 -07:00
2011-05-23 21:24:07 -07:00
2011-05-19 17:55:12 -07:00
2011-05-20 17:24:14 -07:00
2011-05-25 11:36:15 +09:00
2011-05-18 12:32:23 -06:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 12:33:02 -07:00
2011-05-23 21:11:14 -07:00
2011-05-23 21:24:07 -07:00
2011-05-22 22:08:32 -07:00
2011-05-22 21:41:57 -07:00
2011-05-23 12:23:20 -07:00
2011-05-23 12:23:20 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 21:12:49 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 12:23:20 -07:00
2011-05-23 15:15:27 -07:00
2011-05-23 18:05:10 +01:00
2011-05-23 15:39:34 -07:00
2011-05-23 12:23:20 -07:00
2011-05-23 15:39:34 -07:00
2011-05-23 09:12:26 -07:00
2011-05-18 02:55:22 -07:00
2011-05-19 17:45:08 -07:00
2011-05-20 13:43:21 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 11:36:14 +09:00
2011-05-18 23:24:50 +02:00
2011-05-20 13:43:21 -07:00
2011-05-23 21:12:49 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 21:24:07 -07:00
2011-05-23 12:33:02 -07:00
2011-05-23 15:15:27 -07:00
2011-05-23 09:12:26 -07:00
2011-05-23 09:12:26 -07:00
2011-05-20 13:43:21 -07:00
2011-05-23 12:33:02 -07:00