Re: [PATCH] mfd: tps65010: Use power efficient workqueue for powerpolling

From: Lee Jones
Date: Mon Aug 12 2013 - 12:33:35 EST


On Fri, 09 Aug 2013, Mark Brown wrote:

> From: Mark Brown <broonie@xxxxxxxxxx>
>
> There is no need to use a per CPU workqueue to poll, especially with the
> 5s delay used, so allow the scheduler to use any CPU.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
> drivers/mfd/tps65010.c | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)

I'm going to apply the patch and ...

> - schedule_delayed_work(&the_tps->work, 0);
> + queue_delayed_work(system_power_efficient_wq, &the_tps->work,
> + 0);

... move this back up onto the line above, if it's all the same to you?

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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/