Kukjin Kim <kgene.kim <at> samsung.com> writes:
> +struct dma_pl330_platdata exynos4_pdma0_pdata = {
> + .nr_valid_peri = 32,
> + .peri = pdma0_peri,
> };
(snip)
> +struct dma_pl330_platdata exynos4_pdma1_pdata = {
> + .nr_valid_peri = 32,
> + .peri = pdma1_peri,
> };
>
I think you'd better use ARRAY_SIZE(peri) instead 32 for nr_valid_peri
because dma channels can be sparse.
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html