[<prev] [next>] [day] [month] [year] [list]
Message-ID: <55CB3DFE.8060508@schinagl.nl>
Date: Wed, 12 Aug 2015 14:37:18 +0200
From: Olliver Schinagl <oliver+list@...inagl.nl>
To: Ulf Hansson <ulf.hansson@...aro.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
David Lanzendörfer
<david.lanzendoerfer@....ch>, Hans de Goede <hdegoede@...hat.com>,
Chen-Yu Tsai <wens@...e.org>, Arnd Bergmann <arnd@...db.de>,
Peter Griffin <peter.griffin@...aro.org>,
Michal Suchanek <hramrach@...il.com>
CC: linux-mmc@...r.kernel.org,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH v2] mmc: sunxi: fix timeout in sunxi_mmc_oclk_onoff
Hey all
A few months ago, Michal Suchanek submitted the attached patch fixing
the gating timeout issue. Until recently, about v4.0.0 I hadn't noticed
any issues and ran all boards from SD card.
Recently I upgraded to Hans's 4.2 tree where he added
mmc: sunxi: Don't start commands while the card is busy
which started to trigger the timeout very aggressively causing a pretty
much unusable system.
While reverting the commands patch also removed the problem for some
reason, that is of course not the real fix.
Applying Michal's patch on top of the commands patch appears to fix the
issue on atleast the A20 Lime2.
Attached I have Michal's original patch, rebased to 4.2.0-rc5, with
Hans's patch applied before hand.
Changed since v1
* Whitespace cleanup as suggested by Maxime Ripard, no functional
changes from that patch
Olliver
View attachment "0001-mmc-sunxi-fix-timeout-in-sunxi_mmc_oclk_onoff.patch" of type "text/x-patch" (3024 bytes)
Powered by blists - more mailing lists