From: Marek Vasut Date: Fri, 2 Nov 2018 15:27:13 +0100 Subject: [U-Boot] [PATCH 08/13] mmc: tmio: Silence transfer errors when tuning In-Reply-To: References: <20181031171606.13561-1-marek.vasut+renesas@gmail.com> <20181031171606.13561-8-marek.vasut+renesas@gmail.com> <7dab2cac-c8e9-71ac-45f3-48d8f3aa227c@gmail.com> Message-ID: <6875ad80-b687-a12b-4d12-92765c3f9b9e@gmail.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 11/02/2018 04:59 AM, Masahiro Yamada wrote: > On Thu, Nov 1, 2018 at 9:14 PM Marek Vasut wrote: >> >> On 11/01/2018 12:42 PM, Masahiro Yamada wrote: >>> On Thu, Nov 1, 2018 at 2:22 AM Marek Vasut wrote: >>>> >>>> In case the controller performs card tuning, that is, sends MMC >>>> command 19 or 21, silence possible CRC error warning prints. The >>>> warnings are bound to happen, since the tuning will fail for some >>>> settings while searching for the optimal configuration of the bus >>>> and that is perfectly OK. >>>> >>>> This patch passes around the MMC command structure and adds check >>>> into tmio_sd_check_error() to avoid printing CRC error warning >>>> when the tuning happens. >>> >>> Make sense, but another solution might be >>> to delete the message entirely, or to turn it into a debug message. >> >> I'd like to see errors when they happen though, so what do you think >> about this patch ? > > > I am fine if you want to go with this patch. OK, thanks ! -- Best regards, Marek Vasut