Commit 99ba8b9
dmaengine: dw: Initialize channel before each transfer
In some cases DMA can be used only with a consumer which does runtime power
management and on the platforms, that have DMA auto power gating logic
(see comments in the drivers/acpi/acpi_lpss.c), may result in DMA losing
its context. Simple mitigation of this issue is to initialize channel
each time the consumer initiates a transfer.
Fixes: cfdf5b6 ("dw_dmac: add support for Lynxpoint DMA controllers")
Reported-by: Tsuchiya Yuto <kitakar@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206403
Link: https://lore.kernel.org/r/20200705115620.51929-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent e312282 commit 99ba8b9
1 file changed
+0
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 121 | | |
125 | 122 | | |
126 | 123 | | |
127 | 124 | | |
128 | 125 | | |
129 | | - | |
130 | | - | |
131 | 126 | | |
132 | 127 | | |
133 | 128 | | |
| |||
954 | 949 | | |
955 | 950 | | |
956 | 951 | | |
957 | | - | |
958 | | - | |
959 | 952 | | |
960 | 953 | | |
961 | 954 | | |
| |||
966 | 959 | | |
967 | 960 | | |
968 | 961 | | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | 962 | | |
973 | 963 | | |
974 | 964 | | |
| |||
1032 | 1022 | | |
1033 | 1023 | | |
1034 | 1024 | | |
1035 | | - | |
1036 | | - | |
1037 | 1025 | | |
1038 | 1026 | | |
1039 | 1027 | | |
| |||
0 commit comments