From: Tom Rini Date: Thu, 16 Jan 2020 09:41:53 -0500 Subject: [PATCH v2 7/8] mmc: mtk-sd: fix hang when data read quickly In-Reply-To: <20191231032926.2194-8-mingming.lee@mediatek.com> References: <20191231032926.2194-1-mingming.lee@mediatek.com> <20191231032926.2194-8-mingming.lee@mediatek.com> Message-ID: <20200116144153.GN8732@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Dec 31, 2019 at 11:29:25AM +0800, mingming lee wrote: > For CMD21 tuning data, the 128/64 bytes data may coming in very > short time, before msdc_start_data(), the read data has already > come, in this case, clear MSDC_INT will cause the interrupt disappear > and lead to the thread hang. > > the solution is just clear all interrupts before command was sent. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: