diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-24 23:42:03 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-25 09:30:54 +0200 |
commit | ea1a8eb9339ab613c9771962d9879085b42cfb39 (patch) | |
tree | 37db4ca4a133806984c3004fecad3c9a91352735 /patches/0085-iwlwifi-pci-device-removal.patch | |
parent | 7b6e1a148f38bab62a35fc6ff22b6f2feaba445b (diff) |
backports: Add 3. parameter to of_dma_configure()
With commit 3d6ce86ee794 ("drivers: remove force dma flag from buses")
in kernel 4.18 of_dma_configure() got the extra parameter force_dma.
This is backported by setting the force_dma member which was added in
commit d89e2378a97f ("drivers: flag buses which demand DMA
configuration") in kernel 4.15.
In older kernel versions we just ignore this parameter as the
of_dma_configure() function internally takes care of setting this
correctly.
Since commit 7b07cbefb68d ("iommu: of: Handle IOMMU lookup failure with
deferred probing or error") in kernel 4.12 this function returns int and
not void any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/0085-iwlwifi-pci-device-removal.patch')
0 files changed, 0 insertions, 0 deletions