diff options
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index 4136b20cba3c..e06c34bdc34a 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -2019,7 +2019,7 @@ static int omap_system_dma_probe(struct platform_device *pdev) | |||
2019 | errata = p->errata; | 2019 | errata = p->errata; |
2020 | 2020 | ||
2021 | if ((d->dev_caps & RESERVE_CHANNEL) && omap_dma_reserve_channels | 2021 | if ((d->dev_caps & RESERVE_CHANNEL) && omap_dma_reserve_channels |
2022 | && (omap_dma_reserve_channels <= dma_lch_count)) | 2022 | && (omap_dma_reserve_channels < d->lch_count)) |
2023 | d->lch_count = omap_dma_reserve_channels; | 2023 | d->lch_count = omap_dma_reserve_channels; |
2024 | 2024 | ||
2025 | dma_lch_count = d->lch_count; | 2025 | dma_lch_count = d->lch_count; |