lkml.org 
[lkml]   [2012]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@st.com>

--
viresh


\
 
 \ /
  Last update: 2012-01-27 05:21    [W:0.048 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site