Messages in this thread | | | Date | Fri, 27 Jan 2012 09:48:10 +0530 | From | Viresh Kumar <> | 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@st.com>
-- viresh
| |