From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Axel Lin <axel.lin@ingics.com>
Cc: Brian Austin <brian.austin@cirrus.com>,
Georgi Vlaev <joe@nucleusys.com>,
alsa-devel@alsa-project.org, Liam Girdwood <lrg@ti.com>
Subject: Re: [PATCH] ASoC: cs42l52: Catch no-match case in cs42l52_get_clk
Date: Mon, 24 Dec 2012 16:02:49 +0000 [thread overview]
Message-ID: <20121224160248.GP30837@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1355993596.20315.1.camel@phoenix>
[-- Attachment #1.1: Type: text/plain, Size: 279 bytes --]
On Thu, Dec 20, 2012 at 04:53:16PM +0800, Axel Lin wrote:
> In the case of no-match, return -EINVAL instead of 0.
>
> Since we assign i to ret in the for loop, ret always less than
> ARRAY_SIZE(clk_map_table). Thus remove the boundary checking for ret.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2012-12-24 16:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-20 8:53 [PATCH] ASoC: cs42l52: Catch no-match case in cs42l52_get_clk Axel Lin
2012-12-24 16:02 ` Mark Brown [this message]
2012-12-24 20:48 ` Austin, Brian
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=20121224160248.GP30837@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=axel.lin@ingics.com \
--cc=brian.austin@cirrus.com \
--cc=joe@nucleusys.com \
--cc=lrg@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.