commit | 10abdc7c149a058c74be803f33c9ffb1080ad07e | [log] [tgz] |
---|---|---|
author | Ryder Lee <ryder.lee@mediatek.com> | Mon Apr 30 20:15:31 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed May 02 05:52:32 2018 +0900 |
tree | 13810b8535049cce096cd37df5f660e4adf78106 | |
parent | bf14adcc4ddd101088237179bee6daa19bac1669 [diff] |
ASoC: mediatek: add the .probe() callback in mt2701_afe_pcm_dai_component For the sake of uniformity, this patch adds a callback mt2701_afe_pcm_probe() in mt2701_afe_pcm_dai_component to retrieve the regmap - the canonical way to obtain the pointer.. Doing so, we could switch to use devm_snd_soc_register_component() to register the component driver. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>