From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 10 Jun 2016 08:31:31 -0700 Subject: [U-Boot] [PATCH 2/4] mmc: send STOP command when the READ/WIRTE commands fail In-Reply-To: <1463739001-25905-2-git-send-email-yangbo.lu@nxp.com> References: <1463739001-25905-1-git-send-email-yangbo.lu@nxp.com> <1463739001-25905-2-git-send-email-yangbo.lu@nxp.com> Message-ID: <575ADD53.4090307@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/20/2016 03:20 AM, Yangbo Lu wrote: > The STOP command should be sent to stop data transfer when the > READ/WRITE commands fail. Otherwise, any subsequent command will > fail to be sent. > > Signed-off-by: Yangbo Lu > --- > drivers/mmc/mmc.c | 28 +++++++++++++++++++--------- > drivers/mmc/mmc_private.h | 1 + > drivers/mmc/mmc_write.c | 8 ++------ > 3 files changed, 22 insertions(+), 15 deletions(-) Pantelis, Would you please review this set? Thanks. York