diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-03-25 16:29:04 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-26 18:48:08 +0000 |
commit | f7cc9b996e7417708b8168697762e4bc97fa6696 (patch) | |
tree | 6f73e1b058ef740d2dc670598ba63bd7478f96f4 /sound/soc/codecs/rt1308-sdw.h | |
parent | 633fddee7355e46a5b5ec471abb58d65e1e41012 (diff) |
ASoC: rt1308-sdw: add set_tdm_slot() support
Add ability to select which of the channels is used, or both, in case
two RT1308 amplifiers are located on the same link.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200325212905.28145-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1308-sdw.h')
-rw-r--r-- | sound/soc/codecs/rt1308-sdw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1308-sdw.h b/sound/soc/codecs/rt1308-sdw.h index c9341e70d6cf..c5ce75666dcc 100644 --- a/sound/soc/codecs/rt1308-sdw.h +++ b/sound/soc/codecs/rt1308-sdw.h @@ -160,6 +160,8 @@ struct rt1308_sdw_priv { struct sdw_bus_params params; bool hw_init; bool first_hw_init; + int rx_mask; + int slots; }; struct sdw_stream_data { |