[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5CxMLt-cmHFPA_FYKx1pSq7rTsHQ9uuNPoBQHRyS3En9w@mail.gmail.com>
Date: Mon, 29 May 2017 08:13:21 -0300
From: Fabio Estevam <festevam@...il.com>
To: Benoît Thébaudeau <benoit@...stem.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Fabio Estevam <fabio.estevam@....com>,
joancarles <joancarles@...ngenieria.es>,
Eric Bénard <eric@...rea.com>,
Wolfram Sang <wsa@...-dreams.de>,
Dong Aisheng <aisheng.dong@....com>
Subject: Re: [PATCH 2/4] mmc: sdhci-esdhc-imx: Fix DAT line software reset
On Wed, May 3, 2017 at 7:05 AM, Benoît Thébaudeau <benoit@...stem.com> wrote:
> On i.MX25, the eSDHC DAT line software reset (SYSCTL.RSTD) unexpectedly
> clears at least the data transfer width (PROCTL.DTW), which then results
> in data CRC errors. This behavior is not documented, but it has actually
> been observed. Consequently, the DAT line software resets triggered by
> sdhci.c in case of errors caused unrecoverable errors.
>
> Fix this by making sure that the DAT line software reset does not alter
> the Host Control register. This behavior being undocumented, it may also
> be present on other i.MX SoCs, so apply this fix for the whole i.MX
> family.
>
> Signed-off-by: Benoît Thébaudeau <benoit@...stem.com>
Reviewed-by: Fabio Estevam <fabio.estevam@....com>
Powered by blists - more mailing lists