]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mtd: spi-nor: cadence-quadspi: Fix error path in probe
authorVignesh R <vigneshr@ti.com>
Tue, 3 Oct 2017 05:19:24 +0000 (10:49 +0530)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 17 Oct 2017 18:41:19 +0000 (20:41 +0200)
commit329864d35a7f49bed78bc3302fc56317c325f31f
tree00c97802f5697b862d45704e63a4a35ec8bf328f
parente2580a4add6b061f1cc9d7bf9bac5a643112d744
mtd: spi-nor: cadence-quadspi: Fix error path in probe

Fix the reversed goto labels, so that we disable cqspi controller only
if its enabled previously. This is a minor cleanup.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/cadence-quadspi.c