ASoC: mediatek: Enable 33bit memory address to support 4GB DRAM
authorPC Liao <pc.liao@mediatek.com>
Tue, 12 Jan 2016 06:33:42 +0000 (14:33 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Jan 2016 18:07:54 +0000 (18:07 +0000)
commitfcde5a7eca1a28d3f7158399809cb01f83bd0114
tree4b0dfcbee25f8184a4883a176aa650f35a9af48b
parentc1f2a342846fbfd49ddc06ad7f0684d2c45b419d
ASoC: mediatek: Enable 33bit memory address to support 4GB DRAM

If platform is embedded with memory more than 3GB, the address will
go out of the scope that 32-bit can handle with. This patch sets the
dma_mask and MSB properly to describe its address to 33-bit.

Signed-off-by: Hidalgo Huang <hidalgo.huang@mediatek.com>
Signed-off-by: PC Liao <pc.liao@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mtk-afe-common.h
sound/soc/mediatek/mtk-afe-pcm.c