linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@st.com>
To: Linus WALLEIJ <linus.walleij@stericsson.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Christopher BLAIR <chris.blair@stericsson.com>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH 1/2 v3] mfd/stmpe: Add support for no-interrupt config
Date: Fri, 27 Jan 2012 09:48:10 +0530	[thread overview]
Message-ID: <4F222582.9070800@st.com> (raw)
In-Reply-To: <1327612623-9135-1-git-send-email-linus.walleij@stericsson.com>

On 1/27/2012 2:47 AM, Linus WALLEIJ wrote:
> +	if (stmpe->irq < 0) {
> +		/* use alternate variant info for no-irq mode, if supported */
> +		dev_info(stmpe->dev,
> +			"%s configured in no-irq mode by platform data\n",
> +			stmpe->variant->name);
> +		if (!stmpe_noirq_variant_info[stmpe->partnum]) {
> +			dev_err(stmpe->dev,
> +				"%s does not support no-irq mode!\n",
> +				stmpe->variant->name);
> +			ret = -ENODEV;
> +			goto free_gpio;
> +		}
> +		stmpe->variant = stmpe_noirq_variant_info[stmpe->partnum];
> +	}
> +

Acked-by: Viresh Kumar <viresh.kumar@st.com>

-- 
viresh

      reply	other threads:[~2012-01-27  4:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26 21:17 [PATCH 1/2 v3] mfd/stmpe: Add support for no-interrupt config Linus Walleij
2012-01-27  4:18 ` Viresh Kumar [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=4F222582.9070800@st.com \
    --to=viresh.kumar@st.com \
    --cc=chris.blair@stericsson.com \
    --cc=linus.walleij@linaro.org \
    --cc=linus.walleij@stericsson.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.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;
as well as URLs for NNTP newsgroup(s).