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

Mark Brown
2013-11-22T10:36:30Z

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]