memory: tegra: Set DMA mask based on supported address bits
authorThierry Reding <treding@nvidia.com>
Fri, 15 Feb 2019 15:28:19 +0000 (16:28 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 11 Nov 2019 13:55:24 +0000 (14:55 +0100)
commitc4c21f22150ff5bffffb9454ce556ffa047e780d
tree93e27a379562c904a1ae1e28fe2031cba66dc49b
parent3feb4a3cf0f8542ed00f4b257c842ffad8008b4e
memory: tegra: Set DMA mask based on supported address bits

The memory controller on Tegra124 and later supports 34 or more address
bits. Advertise that by setting the DMA mask based on the number of the
address bits.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/mc.c