From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Tue, 16 Feb 2016 00:40:22 +0530 Subject: [U-Boot] [PATCH 15/16] spi: Correct two error return values In-Reply-To: <1455500220-1324-16-git-send-email-sjg@chromium.org> References: <1455500220-1324-1-git-send-email-sjg@chromium.org> <1455500220-1324-16-git-send-email-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15 February 2016 at 07:06, Simon Glass wrote: > When an error number is provided we should use it, not change it. This fixes > the SPI and SPI flash tests. > > One of these is long-standing. The other seems to have been introduced by > commit 1e90d9fd (sf: Move read_id code to sf_ops). > > Signed-off-by: Simon Glass > Fixes: 1e90d9fd (sf: Move read_id code to sf_ops) > --- Reviewed-by: Jagan Teki Tested-by: Jagan Teki -- Jagan.