[alsa-devel] [PATCH] ASoC: ml26124: Remove duplicate code

Mark Brown broonie at kernel.org
Mon Jun 15 12:05:54 CEST 2015


On Sun, Jun 14, 2015 at 10:28:01AM +0800, Axel Lin wrote:
> Current code has duplicate code for 16000, 32000 and 48000 sample rates.
> get_srate() returns negative error code for unsupported rate, so we can
> remove the duplicate code in the swith cases by calling get_srate() first.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150615/095ba594/attachment.sig>


More information about the Alsa-devel mailing list