diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2014-03-05 02:58:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-05 04:21:47 +0100 |
commit | 5bdfd491a01955727a6b2382534ec7760174863e (patch) | |
tree | 42ee015bf457b62106e1d1fdb1f8de9db7b2670a /sound/soc/codecs/wm2000.c | |
parent | spi: atmel: Let spi core handle validating transfer length (diff) | |
download | linux-5bdfd491a01955727a6b2382534ec7760174863e.tar.xz linux-5bdfd491a01955727a6b2382534ec7760174863e.zip |
spi: atmel: adopt pinctrl support
Amend the spi atmel pin controller to optionally take a pin control
handle and set the state of the pins to:
- "default" on boot, resume and before performing an spitransfer
- "sleep" on suspend()
This should make it possible to optimize energy usage for the pins
both for the suspend/resume cycle
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm2000.c')
0 files changed, 0 insertions, 0 deletions