[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F222582.9070800@st.com>
Date: Fri, 27 Jan 2012 09:48:10 +0530
From: Viresh Kumar <viresh.kumar@...com>
To: Linus WALLEIJ <linus.walleij@...ricsson.com>
Cc: Samuel Ortiz <sameo@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Christopher BLAIR <chris.blair@...ricsson.com>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH 1/2 v3] mfd/stmpe: Add support for no-interrupt config
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@...com>
--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists