diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-06-12 11:34:30 -0600 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-12 19:25:22 +0100 |
commit | dcad9f031240d59e9e1475a8e5b2cb427da94f6e (patch) | |
tree | 5bb28075e74375030c5fd2e89531f01660700047 /sound/soc/codecs/wm8961.c | |
parent | 997b05203b0a710e11f9b2732bef2d2fdc1d824b (diff) | |
download | op-kernel-dev-dcad9f031240d59e9e1475a8e5b2cb427da94f6e.zip op-kernel-dev-dcad9f031240d59e9e1475a8e5b2cb427da94f6e.tar.gz |
ASoC: rt5640: add device tree support
Modify the RT5640 driver to parse platform data from device tree. Write
a DT binding document to describe those properties.
Slight re-ordering of rt5640_i2c_probe() to better fit the DT parsing.
Since ldo1_en is optional, guard usage of it with gpio_is_valid(), rather
than open-coding an if (gpio) check.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm8961.c')
0 files changed, 0 insertions, 0 deletions