From: Mark Brown <broonie@kernel.org>
To: Axel Lin <axel.lin@ingics.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Tomoya MORINAGA <tomoya.rohm@gmail.com>,
Liam Girdwood <lgirdwood@gmail.com>
Subject: Re: [PATCH] ASoC: ml26124: Remove duplicate code
Date: Mon, 15 Jun 2015 11:05:54 +0100 [thread overview]
Message-ID: <20150615100554.GG18309@sirena.org.uk> (raw)
In-Reply-To: <1434248881.10956.2.camel@ingics.com>
[-- Attachment #1.1: Type: text/plain, Size: 302 bytes --]
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.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2015-06-15 10:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-14 2:28 [PATCH] ASoC: ml26124: Remove duplicate code Axel Lin
2015-06-15 10:05 ` Mark Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150615100554.GG18309@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=axel.lin@ingics.com \
--cc=lgirdwood@gmail.com \
--cc=tomoya.rohm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox