commit | e9716ff3dcd052d8640047860a78c948629c6c70 | [log] [tgz] |
---|---|---|
author | Akshu Agrawal <akshu.agrawal@amd.com> | Tue May 08 10:17:50 2018 +0530 |
committer | Mark Brown <broonie@kernel.org> | Mon May 21 16:19:11 2018 +0100 |
tree | b796b72d38184815f27112d51cd62e296e93f29b | |
parent | cac6f59717e1084552e509172d40d5c9d278feb9 [diff] |
ASoC: AMD: Move clk enable from hw_params/free to startup/shutdown hw_param can be called multiple times and thus we can have more clk enable. The clk may not get diabled due to refcounting. startup/shutdown ensures single clk enable/disable call. Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>