mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
The dma-mask could be applied to an older kernel as well. And this is essential for nvadsp driver to use the newer nvadsp_dma_alloc_and_map_at() function. Though downstream kernel 4.9 still has dma_alloc_at_coherent() support, it would be cleaner to have nvadsp code using a unified way instead of adding older dma_alloc_at_coherent() back with another KERNEL_VERSION check. Bug 200444660 Change-Id: I3968155c7439789a398ca499e70598ce1385737a Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2096705 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>