[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20111014191445.GC2931@opensource.wolfsonmicro.com>
Date: Fri, 14 Oct 2011 20:14:46 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Ashish Chavan <ashish.chavan@...tcummins.com>
Cc: lrg <lrg@...com>, alsa-devel <alsa-devel@...a-project.org>,
David Dajun Chen <david.chen@...semi.com>,
"kuninori.morimoto.gx" <kuninori.morimoto.gx@...esas.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [alsa-devel] [PATCH v3 3/8] ASoC: da7210: Add support for line
out and DAC
On Fri, Oct 14, 2011 at 04:34:05PM +0530, Ashish Chavan wrote:
> + /* Enable Line out amplifiers */
> + snd_soc_write(codec, DA7210_OUT1_L, DA7210_OUT1_L_EN);
> + snd_soc_write(codec, DA7210_OUT1_R, DA7210_OUT1_R_EN);
> + snd_soc_write(codec, DA7210_OUT2, DA7210_OUT2_EN |
> + DA7210_OUT2_OUTMIX_L | DA7210_OUT2_OUTMIX_R);
> +
So, part of the reason I was complaining about you having the DAPM
conversion patch last is that in a driver using DAPM I'd really not
expect to see code like this which open codes register writes to enable
outputs, I'd expect the enables to be being done using DAPM.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists