[alsa-devel] [PATCH 2/2 resend] ASoC: cs4271: preserve "Master Playback Switch" setting

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Mar 22 12:10:41 CET 2013


On Fri, Mar 22, 2013 at 12:04:54PM +0100, Daniel Mack wrote:
> On 22.03.2013 11:32, Mark Brown wrote:

> > You're not really responding to what I'm saying here.  What I'm saying
> > is that if this is useful it should be implemented in the core unless
> > there's some reason I'm missing why this is specific to this driver.

> Ok, point taken. It's just not really a drop-in equivalent, given that
> both the numid and the name string will change then.

Well, we could probably arrange something for the name string (and I'd
think we'd want to).

> I'll see when I'll find some time to do that. Your idea is to have a
> "Master Playback Switch" for both the CPU and the Codec on each link, if
> the driver implements either ->mute_stream or ->digital_mute, right? And
> the control would default to "on"?

Yes, something like that.  Providing a way to set the name of the
control would be good but it could be done as a stage two.  I'm still
swithering about applying the patch, it's driver local and won't really
interfere with any generic support that comes along.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130322/4135c66e/attachment.sig>


More information about the Alsa-devel mailing list