Skip to content

Commit 400d9f1

Browse files
Vishwaroop Abroonie
authored andcommitted
spi: tegra210-quad: remove redundant error handling code
Remove unnecessary error handling code that terminated transfers and executed delay on errors. This code was redundant as error handling is already done at a higher level in the SPI core. Fixes: 1b8342c ("spi: tegra210-quad: combined sequence mode") Signed-off-by: Vishwaroop A <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent dcb06c6 commit 400d9f1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/spi/spi-tegra210-quad.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,10 +1175,6 @@ static int tegra_qspi_combined_seq_xfer(struct tegra_qspi *tqspi,
11751175

11761176
exit:
11771177
msg->status = ret;
1178-
if (ret < 0) {
1179-
tegra_qspi_transfer_end(spi);
1180-
spi_transfer_delay_exec(xfer);
1181-
}
11821178

11831179
return ret;
11841180
}

0 commit comments

Comments
 (0)