spi: zynq_qspi: Fixed incorrect return value error
This patch replaced "return 0" with "return status" to fix the incorrect return value error reported by the coverity. Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
committed by
Michal Simek
parent
dd8d2834aa
commit
e51af848dd
@@ -774,7 +774,7 @@ static int zynq_qspi_transfer(struct zynq_qspi_priv *priv)
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return status;
|
||||
}
|
||||
|
||||
static int zynq_qspi_claim_bus(struct udevice *dev)
|
||||
|
||||
Reference in New Issue
Block a user