aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/gntdev.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-05-24 10:31:20 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-05-25 11:36:15 +0900
commit300e5f97d2a32196cbe03104cd6ffe2af97d9338 (patch)
tree1863d889aa757365d321e5b6a48db3c92979ac79 /include/xen/gntdev.h
parent26fc02ab5551349b2e593829a76cb44328ee7f61 (diff)
downloadkernel_samsung_smdk4412-300e5f97d2a32196cbe03104cd6ffe2af97d9338.zip
kernel_samsung_smdk4412-300e5f97d2a32196cbe03104cd6ffe2af97d9338.tar.gz
kernel_samsung_smdk4412-300e5f97d2a32196cbe03104cd6ffe2af97d9338.tar.bz2
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>
Diffstat (limited to 'include/xen/gntdev.h')
0 files changed, 0 insertions, 0 deletions