[alsa-devel] [PATCH 2/8] ASoC: alc5632: Use params_width() rather than memory format

Mark Brown broonie at kernel.org
Thu Jan 9 11:33:16 CET 2014


On Thu, Jan 09, 2014 at 06:55:17AM +0200, Leon Romanovsky wrote:
> On Wed, Jan 8, 2014 at 9:51 PM, Mark Brown <broonie at kernel.org> wrote:

> > +       switch (params_width(params)) {
> > +       case 16:

> May be the better way will be to use define here and not hard coded value?

No, it really is actually a number of bits.
-------------- 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/20140109/d152344a/attachment.sig>


More information about the Alsa-devel mailing list