[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPnjgZ2J8V=ZtivYZJOepBi_6h7VEhZ+R-XjjT+yA0YeW9+Tqw@mail.gmail.com>
Date: Fri, 18 Apr 2014 11:26:56 -0600
From: Simon Glass <sjg@...omium.org>
To: Doug Anderson <dianders@...omium.org>
Cc: Lee Jones <lee.jones@...aro.org>,
Stephen Warren <swarren@...dia.com>,
Wolfram Sang <wsa@...-dreams.de>,
Andrew Bresticker <abrestic@...omium.org>,
Dylan Reid <dgreid@...omium.org>,
Olof Johansson <olof@...om.net>,
linux-samsung-soc <linux-samsung-soc@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
Samuel Ortiz <sameo@...ux.intel.com>,
lk <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/7] mfd: cros_ec: spi: Make the cros_ec_spi timeout more reliable
On 17 April 2014 11:59, Doug Anderson <dianders@...omium.org> wrote:
> The cros_ec_spi transfer had two problems with its timeout code:
>
> 1. It looked at the timeout even in the case that it found valid data.
> 2. If the cros_ec_spi code got switched out for a while, it's possible
> it could get a timeout after a single loop. Let's be paranoid and
> make sure we do one last transfer after the timeout expires.
>
> Signed-off-by: Doug Anderson <dianders@...omium.org>
Reviewed-by: Simon Glass <sjg@...omium.org>
--
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