LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Stanimir Varbanov <svarbanov@mm-sol.com>
Cc: "linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
Bjorn Andersson <bjorn.andersson@sonymobile.com>,
Stephen Boyd <sboyd@codeaurora.org>
Subject: Re: [PATCH 2/3] pinctrl: qcom: enable generic pinconf
Date: Fri, 30 Jan 2015 14:39:01 +0100 [thread overview]
Message-ID: <CACRpkdYqGBigqfuYgBQTji2-tJR7avtgMxLQZAmMzP8zkp-0EA@mail.gmail.com> (raw)
In-Reply-To: <1422613644-13060-3-git-send-email-svarbanov@mm-sol.com>
On Fri, Jan 30, 2015 at 11:27 AM, Stanimir Varbanov
<svarbanov@mm-sol.com> wrote:
> This makes the pinctrl driver to use the generic pinconf
> interface. Mainly it gives us a way to use debugfs to dump
> group configurations.
>
> Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Nice! Looking for Björn's review though.
> +++ b/drivers/pinctrl/qcom/pinctrl-msm.c
> @@ -197,7 +197,6 @@ static int msm_config_reg(struct msm_pinctrl *pctrl,
> *mask = 1;
> break;
> default:
> - dev_err(pctrl->dev, "Invalid config param %04x\n", param);
> return -ENOTSUPP;
> }
>
> @@ -262,8 +261,6 @@ static int msm_config_group_get(struct pinctrl_dev *pctldev,
> arg = !!(val & BIT(g->in_bit));
> break;
> default:
> - dev_err(pctrl->dev, "Unsupported config parameter: %x\n",
> - param);
> return -EINVAL;
Please change this one to -ENOTSUPP as well in this patch.
Apart from that it looks good to me.
Yours,
Linus Walleij
next prev parent reply other threads:[~2015-01-30 13:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-30 10:27 [PATCH 0/3] pinctrl: qcom: enable generic pinconf and input-enable Stanimir Varbanov
2015-01-30 10:27 ` [PATCH 1/3] pinctrl: qcom: delete pin_config_get/set pinconf operations Stanimir Varbanov
2015-01-30 13:37 ` Linus Walleij
2015-01-30 10:27 ` [PATCH 2/3] pinctrl: qcom: enable generic pinconf Stanimir Varbanov
2015-01-30 13:39 ` Linus Walleij [this message]
2015-01-30 10:27 ` [PATCH 3/3] pinctrl: qcom: handle input-enable pinconf property Stanimir Varbanov
2015-01-30 16:20 ` Bjorn Andersson
2015-02-04 10:03 ` Linus Walleij
2015-02-04 17:49 ` Bjorn Andersson
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=CACRpkdYqGBigqfuYgBQTji2-tJR7avtgMxLQZAmMzP8zkp-0EA@mail.gmail.com \
--to=linus.walleij@linaro.org \
--cc=bjorn.andersson@sonymobile.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@codeaurora.org \
--cc=svarbanov@mm-sol.com \
--subject='Re: [PATCH 2/3] pinctrl: qcom: enable generic pinconf' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).