]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: use reset framework
authorStephen Warren <swarren@nvidia.com>
Wed, 6 Nov 2013 22:18:22 +0000 (15:18 -0700)
committerStephen Warren <swarren@nvidia.com>
Wed, 11 Dec 2013 23:43:35 +0000 (16:43 -0700)
commit0823347a9c2f549e5f248c7b9a93449dc1b5577f
treec2fbc955e54aeab1a70ab811d944b46f1c91abf6
parent3528f2fa91126c5e45d39db5b2156373654e7420
ASoC: tegra: use reset framework

Tegra's clock driver now provides an implementation of the common
reset API (include/linux/reset.h). Use this instead of the old Tegra-
specific API; that will soon be removed.

This change also renames "clock"/"clk" to "modules"/"mod" in symbols
related to entries in configlink_clocks[], since:
- We don't care about clock handles any more, but rather reset handles,
  so the old name isn't applicable.
- It really is a list of modules on the bus, about which we currently
  only care about reset handles.
If we start caring about any other aspect of the modules in the future,
we won't have to rename all these symbols again.

Note: The addition of "depends COMMON_CLOCK" is something that was missing
before, not a new requirement.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Mark Brown <broonie@linaro.org>
Reviewed-by: Thierry Reding <treding@nvidia.com>
sound/soc/tegra/Kconfig
sound/soc/tegra/tegra30_ahub.c
sound/soc/tegra/tegra30_ahub.h