ASoC: cros_ec_codec: extract DMIC EC command from I2S RX
authorTzung-Bi Shih <tzungbi@google.com>
Mon, 14 Oct 2019 10:20:15 +0000 (18:20 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:11:26 +0000 (18:11 +0100)
commit8f731d4c92c2ef9434d4d7f84882c6429754164b
tree863ec3824196223e2e5a4a2642e556008459052c
parent727f1c71c780789aeb8f3da2596c65ae008d5d6c
ASoC: cros_ec_codec: extract DMIC EC command from I2S RX

Extract DMIC EC command from I2S RX.  Setting and getting
microphone gains is common features.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Acked-By: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20191014180059.03.I93d9c65964f3c30f85a36d228e31150ff1917706@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/platform/chrome/cros_ec_trace.c
include/linux/platform_data/cros_ec_commands.h
sound/soc/codecs/cros_ec_codec.c