diff options
author | Bard Liao <bardliao@realtek.com> | 2015-02-17 13:59:26 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-21 18:30:14 +0900 |
commit | 7371bd1f4aeb4e1c44b8c1ba8e36ebba4250b59c (patch) | |
tree | 608fb13f5ed333ed712101962d00d17140148a51 /init | |
parent | bfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff) | |
download | op-kernel-dev-7371bd1f4aeb4e1c44b8c1ba8e36ebba4250b59c.zip op-kernel-dev-7371bd1f4aeb4e1c44b8c1ba8e36ebba4250b59c.tar.gz |
ASoC: rt5670: Add disabled item in dmic pin enum
Currently, we will configure dmic related pin definition if pdata.dmic_en
is true. However, there is no disable option in the enum. So, any dmic is
used, all 3 dmic related pins will be configured. It may cause unexpected
pin definition. This patch adds a disable item for each dmic enum and
take it as default. So the driver will not set the pin configuration if
we don't set dmicx_data_pin in platform data.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions