mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
UPSTREAM: spi: spi-geni-qcom: Rename the label unmap_if_dma
The code at unmap_if_dma label doesn't contain unmapping dma anymore but has only fsm reset. Rename it to reset_if_dma accordingly. No functional change. Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/1696614170-18969-1-git-send-email-quic_vnivarth@quicinc.com Signed-off-by: Mark Brown <broonie@kernel.org> Bug: 370629635 Change-Id: I756e9db6e2cbb1cd7f6d251d732ba32926a9b4e3 (cherry picked from commit 8a6b446d8a13673bfcf44fbd09d737ae4ccf0bfd) Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com>
This commit is contained in:
committed by
Treehugger Robot
parent
9a072aa707
commit
179ccc9377
@@ -166,7 +166,7 @@ static void handle_se_timeout(struct spi_master *spi,
|
||||
* doesn`t support CMD Cancel sequnece
|
||||
*/
|
||||
spin_unlock_irq(&mas->lock);
|
||||
goto unmap_if_dma;
|
||||
goto reset_if_dma;
|
||||
}
|
||||
|
||||
reinit_completion(&mas->cancel_done);
|
||||
@@ -175,7 +175,7 @@ static void handle_se_timeout(struct spi_master *spi,
|
||||
|
||||
time_left = wait_for_completion_timeout(&mas->cancel_done, HZ);
|
||||
if (time_left)
|
||||
goto unmap_if_dma;
|
||||
goto reset_if_dma;
|
||||
|
||||
spin_lock_irq(&mas->lock);
|
||||
reinit_completion(&mas->abort_done);
|
||||
@@ -193,7 +193,7 @@ static void handle_se_timeout(struct spi_master *spi,
|
||||
mas->abort_failed = true;
|
||||
}
|
||||
|
||||
unmap_if_dma:
|
||||
reset_if_dma:
|
||||
if (mas->cur_xfer_mode == GENI_SE_DMA) {
|
||||
if (xfer) {
|
||||
if (xfer->tx_buf) {
|
||||
|
||||
Reference in New Issue
Block a user