ASoC: dapm: add support to pinctrl dapm
commit5b2d15bbd1eeb3d787c8e6459a8cb2645f336050
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Sat, 10 Mar 2018 02:37:27 +0000 (10 02:37 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 13 Mar 2018 16:45:01 +0000 (13 09:45 -0700)
tree215c8fa07741b8b39caaf718d0f2e6af8ebfc0e3
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: dapm: add support to pinctrl dapm

Purpose of having pinctrl dapm is to dynamically put the pins in
low power state when they are not actively used by the audio and
saving power.

Without this each driver has to set the pinctrl states, either
during probe or dynamically depending on the callbacks received
from ASoC core.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c