[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140423123341.GB640@lee--X1>
Date: Wed, 23 Apr 2014 13:33:41 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Doug Anderson <dianders@...omium.org>
Cc: swarren@...dia.com, wsa@...-dreams.de, abrestic@...omium.org,
dgreid@...omium.org, olof@...om.net, sjg@...omium.org,
linux-samsung-soc@...r.kernel.org, linux-tegra@...r.kernel.org,
David Hendricks <dhendrix@...omium.org>, sameo@...ux.intel.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/7] mfd: cros_ec: spi: calculate delay between
transfers correctly
> From: David Hendricks <dhendrix@...omium.org>
>
> To avoid spamming the EC we calculate the time between the previous
> transfer and the current transfer and force a delay if the time delta
> is too small.
>
> However, a small miscalculation causes the delay period to be
> far too short. Most noticably this impacts commands with a long
> turnaround time such as EC firmware reads and writes.
>
> Signed-off-by: David Hendricks <dhendrix@...omium.org>
> Signed-off-by: Doug Anderson <dianders@...omium.org>
> Reviewed-by: Simon Glass <sjg@...omium.org>
> Tested-by: Andrew Bresticker <abrestic@...omium.org>
> Tested-by: Stephen Warren <swarren@...dia.com>
> ---
> Changes in v2: None
>
> drivers/mfd/cros_ec_spi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Waiting for other subsystems to Ack, so for now:
Acked-by: Lee Jones <lee.jones@...aro.org>
--
Lee Jones
Linaro STMicroelectronics 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists