mtd: spi-nor: hisi: do not ignore clk_prepare_enable() failure
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 17 Feb 2017 22:08:17 +0000 (01:08 +0300)
committerCyrille Pitchen <cyrille.pitchen@atmel.com>
Tue, 7 Mar 2017 20:45:48 +0000 (21:45 +0100)
commit0a5165a83c624cddb3dfa227a9324acac9ec413c
tree74cede7cbc4ad88856bf7a227d6e2301ff1bfb11
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
mtd: spi-nor: hisi: do not ignore clk_prepare_enable() failure

hisi_spi_nor_probe() ignores clk_prepare_enable() error code.
The patch fixes that.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
drivers/mtd/spi-nor/hisi-sfc.c