diff options
author | Hans de Goede | 2021-03-07 16:05:03 +0100 |
---|---|---|
committer | Mark Brown | 2021-03-12 20:47:19 +0000 |
commit | 9f47c9c8bddc79e770ed19366840b9c2ab280ac1 (patch) | |
tree | 5b8440e539c10e22b608952aa7446bb93b502494 /usr | |
parent | 40e4046913a34dd187c94f66c0f43facbff0f430 (diff) |
ASoC: Intel: bytcr_rt5640: Add used AIF to the components string
Depending on which AIF is used the UCM profile needs to setup
a different path through the rt5640's "Digital Mixer Path" graph.
ATM the UCM profiles solve this by just enabling paths to the outputs /
from the input from both AIF1 and AIF2 and then relying on the DAPM
framework to power-down the parts of the graph connected to the
unused AIF.
But in order to be able to use hardware-volumecontrol and to use
the hardware mute controls, which are necessary for mute LED control,
the UCM profiles need to know which AIF is actually being used.
Add a new "aif:1" or "aif:2" part to the component string to provide
info about the used AIF to userspace / to the UCM profiles.
Note the size of byt_rt5640_components is not increased because the
size of 32 chars already is big enough.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210307150503.34906-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions