diff options
author | Niklas Söderlund <[email protected]> | 2016-05-11 15:15:11 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2016-05-14 13:34:10 +0530 |
commit | 20ea6be6bffd4da8cfe3aeea9e6a090f346a54da (patch) | |
tree | caa4b02597ed8bc935cae7489b0eeacaa3b0506c /lib/string_helpers.c | |
parent | d57d3a48ca784615e839475d8bdf8f3cecf77c8d (diff) |
dmaengine: of_dma: approximate an average distribution
Currently the following DT description would result in dmac0 always
being tried first and dmac1 second if dmac0 was unavailable. This
results in heavier use of dmac0 then of dmac1. This patch adds an
approximate average distribution over the two nodes lessening the load
of anyone of them.
i2c6: i2c@e60b0000 {
...
dmas = <&dmac0 0x77>, <&dmac0 0x78>,
<&dmac1 0x77>, <&dmac1 0x78>;
dma-names = "tx", "rx", "tx", "rx";
...
};
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Niklas Söderlund <[email protected]>
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions