ASoC: cros_ec_codec: read max DMIC gain from EC codec
authorTzung-Bi Shih <tzungbi@google.com>
Thu, 17 Oct 2019 14:00:10 +0000 (22:00 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:13:20 +0000 (18:13 +0100)
commitf3e82ad43ca538a7e0db0f310e26c5e75db6ba18
tree8d3a0ccccf6f6eb74115492785c7180b1289da83
parent104c6f8f7ff859ddd53b69c4af11e83f2971f0c4
ASoC: cros_ec_codec: read max DMIC gain from EC codec

Read max DMIC gain from EC codec instead of DTS.  Also removes the
dt-binding of max-dmic-gain.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20191017213539.05.Id4657c864d544634f2b5c1c9b34fa8232ecba44d@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/google,cros-ec-codec.txt
include/linux/platform_data/cros_ec_commands.h
sound/soc/codecs/cros_ec_codec.c