diff options
author | Rob Herring <robh@kernel.org> | 2020-02-06 14:26:40 +0000 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-02-14 15:27:08 -0600 |
commit | 9d55bebd9816903b821a403a69a94190442ac043 (patch) | |
tree | a48b5eb8dea1012bc225b62e0445595b89e5508a /samples/mic/mpssd | |
parent | 7a8b64d17e35810dc3176fe61208b45c15d25402 (diff) | |
download | linux-stable-9d55bebd9816903b821a403a69a94190442ac043.tar.gz linux-stable-9d55bebd9816903b821a403a69a94190442ac043.tar.bz2 linux-stable-9d55bebd9816903b821a403a69a94190442ac043.zip |
of/address: Support multiple 'dma-ranges' entries
Currently, the DMA offset and mask for a device are set based only on the
first 'dma-ranges' entry. We should really be using all the entries. The
kernel doesn't yet support multiple offsets and sizes, so the best we can
do is to find the biggest size for a single offset. The algorithm is
copied from acpi_dma_get_range().
If there's different offsets from the first entry, then we warn and
continue. It really should be an error, but this will likely break
existing DTs.
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'samples/mic/mpssd')
0 files changed, 0 insertions, 0 deletions