]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5185e0acc831e250257ba04f5204dc5f5c1e5d0a
treec2fbc955e54aeab1a70ab811d944b46f1c91abf6
parent996556c92a706058cf5ce6b3ef8dacc4032a3e0d
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