Re: [PATCH 1/2 v3] mfd/stmpe: Add support for no-interrupt config

From: Viresh Kumar
Date: Thu Jan 26 2012 - 23:18:49 EST


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@xxxxxx>

--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/