[alsa-devel] [PATCH] ASoC: nau8825: assign DAC Ch to match headset L/R

Ben Zhang benzh at chromium.org
Thu Mar 31 00:55:49 CEST 2016


On Wed, Mar 30, 2016 at 10:39 AM, Mark Brown <broonie at kernel.org> wrote:
> On Wed, Mar 30, 2016 at 02:57:11PM +0800, John Hsu wrote:
>> The default value of DAC channel select is reverse in codec.
>> For normal usage, switch the channel select when codec bootup.
>
> I would expect this to be exposed as DAPM routing?

The channel selection is already exposed by DAPM widget "DACL Mux" and
"DACR Mux". The issue is that hardware default register values after
reset have the channels reversed as R/L. This patch is for
initializing to the normal L/R channels after boot. The default should
be normal L/R from userspace point of view. If userspace wants some
other settings later, it can set the muxes to get R/L, L/L, or R/R.


More information about the Alsa-devel mailing list