mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 11:13:02 +09:00
commit10ad1d754aupstream. We return success or possibly uninitialized values on these error paths instead of proper error codes. Fixes:1406234105("mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>