From: jonghwa3.lee@samsung.com
To: Axel Lin <axel.lin@ingics.com>
Cc: Mark Brown <broonie@kernel.org>,
Myungjoo Ham <myungjoo.ham@samsung.com>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: max77693: Fix trivial typo
Date: Mon, 01 Jul 2013 08:51:44 +0900 [thread overview]
Message-ID: <51D0C490.6090804@samsung.com> (raw)
In-Reply-To: <1372477049.9121.0.camel@phoenix>
On 2013년 06월 29일 12:37, Axel Lin wrote:
> Fix trivial typo in the equation to check upper bound of current setting.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/regulator/max77693.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/regulator/max77693.c b/drivers/regulator/max77693.c
> index 674ece7..d45a4dd 100644
> --- a/drivers/regulator/max77693.c
> +++ b/drivers/regulator/max77693.c
> @@ -97,7 +97,7 @@ static int max77693_chg_set_current_limit(struct regulator_dev *rdev,
> while (chg_min_uA + CHGIN_ILIM_STEP_20mA * sel < min_uA)
> sel++;
>
> - if (chg_min_uA * CHGIN_ILIM_STEP_20mA * sel > max_uA)
> + if (chg_min_uA + CHGIN_ILIM_STEP_20mA * sel > max_uA)
> return -EINVAL;
>
> /* the first four codes for charger current are all 60mA */
Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Thanks,
Jonghwa
next prev parent reply other threads:[~2013-06-30 23:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-29 3:37 [PATCH] regulator: max77693: Fix trivial typo Axel Lin
2013-06-30 23:51 ` jonghwa3.lee [this message]
2013-07-01 10:15 ` Mark Brown
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=51D0C490.6090804@samsung.com \
--to=jonghwa3.lee@samsung.com \
--cc=axel.lin@ingics.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=myungjoo.ham@samsung.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.