Re: [PATCH v3 2/5] extcon: max14577: Add extcon-max14577 driver tosupport MUIC device

From: Mark Brown
Date: Fri Nov 22 2013 - 05:36:33 EST


On Fri, Nov 22, 2013 at 09:46:09AM +0100, Krzysztof Kozlowski wrote:

> +#define DELAY_MS_DEFAULT 17000 /* unit: millisecond */

This delay is sufficiently large that the delayed work using it probably
ought to use the power efficient workqueues instead of just a regular
schedule_delayed_work(). This will mean that instead of being scheduled
on the core which scheduled it the work can run on any CPU, avoiding the
need to power up a currently idle CPU just to run the work.

Attachment: signature.asc
Description: Digital signature