diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-07-18 22:55:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-19 17:04:35 +0200 |
commit | a0d1d867c262f4ad5d8e4925e2212711ebdbf2b7 (patch) | |
tree | 84fc72c8f2c1f9eb24629d87ebd57d844f194524 /kernel/watchdog_hld.c | |
parent | ASoC: Intel: bytcr_rt5651: Add IN2 input mapping (diff) | |
download | linux-a0d1d867c262f4ad5d8e4925e2212711ebdbf2b7.tar.xz linux-a0d1d867c262f4ad5d8e4925e2212711ebdbf2b7.zip |
ASoC: Intel: bytcr_rt5651: Add mono speaker quirk
During my initial round of bytcr_rt5651 long-name patches I did not include
a difference for mono vs stereo speaker setups in the longname because it
seems that all 5651 devices with only a single speaker do some mixing of
left + right on the PCB.
However further testing has shown that while this works great when only
playing audio on the left or right channel, the output becomes garbled
when using both channels at once. Something which does not happen when
using the Stereo DAC MIXL / MIXR switches to mix the channels together
inside the codec and then only outputting on a single channel.
So we need to have separate UCM profiles and thus separate long-names
for devices with a mono speaker vs stereo speakers. Just as we already
have for the bytcr_rt5640 case.
This commit adds a new BYT_RT5651_MONO_SPEAKER quirk and adds "stereo-spk"
or "mono-spk" to the long-name based on this and enables this mapping on
devices with a mono speaker.
Changing the long-name like this is ok for now, since I'm still working
on the UCM profiles, so they are not in upstream alsa-lib yet.
This brings the long-name naming scheme fully in sync with the bytcr_rt5640
case, which is good from a consistency pov.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/watchdog_hld.c')
0 files changed, 0 insertions, 0 deletions