[alsa-devel] [PATCH] ALSA: ASoC: add codec driver for TI TAS5086

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Mar 8 13:30:08 CET 2013

On Fri, Mar 08, 2013 at 01:26:35PM +0100, Daniel Mack wrote:
> On 08.03.2013 12:42, Mark Brown wrote:

> > Please avoid the ternery operator.  It'd be nice to switch over to
> > mute_stream() too.

> I wasn't aware of steam_mute. How's that supposed to be used? I'm asking
> because when using 4-channel playback, the driver gets this callback for
> stream == 0 only. Am I supposed to (un)mute all channels here,
> regardless of the stream parameter passed in?

The stream parameter is _PLAYBACK or _CAPTURE - it's just the same as
digital_mute() except it can be applied to a capture stream too.
-------------- 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/20130308/9ef94862/attachment.sig>

More information about the Alsa-devel mailing list