ASoC: mediatek: preallocate pages use platform device
authorKai Chieh Chuang <kaichieh.chuang@mediatek.com>
Fri, 27 Apr 2018 02:11:35 +0000 (10:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2018 09:39:22 +0000 (11:39 +0200)
commit77f738e84293f10980ea94cbcf57a8f204295f78
treee2bd067435d71dc22315586fba7411b059220dd7
parent99ebaf4f43dd25e18baf02c994c7939f1257f8a3
ASoC: mediatek: preallocate pages use platform device

commit 5845e6155d8f4a4a9bae2d4c1d1bb4a4d9a925c2 upstream.

preallocate pages should use platform device,
since we set dma mask for platform device.

Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/mediatek/common/mtk-afe-platform-driver.c