diff options
author | Peter Harliman Liem <[email protected]> | 2023-01-05 11:05:51 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-01-18 15:32:16 +0530 |
commit | 96b3bb18f6cbe259ef4e0bed3135911b7e8d2af5 (patch) | |
tree | fa5cedf2ab753508d3f0fa5c8d47fc2845256706 /lib/memory-notifier-error-inject.c | |
parent | f96a483f8e131de50ebf30589ffba1a4f6bd12f7 (diff) |
dmaengine: lgm: Move DT parsing after initialization
ldma_cfg_init() will parse DT to retrieve certain configs.
However, that is called before ldma_dma_init_vXX(), which
will make some initialization to channel configs. It will
thus incorrectly overwrite certain configs that are declared
in DT.
To fix that, we move DT parsing after initialization.
Function name is renamed to better represent what it does.
Fixes: 32d31c79a1a4 ("dmaengine: Add Intel LGM SoC DMA support.")
Signed-off-by: Peter Harliman Liem <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/afef6fc1ed20098b684e0d53737d69faf63c125f.1672887183.git.pliem@maxlinear.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions