Skip to content

Commit 8a6b446

Browse files
Vijaya Krishna Nivarthibroonie
authored andcommitted
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 <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent df22568 commit 8a6b446

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/spi/spi-geni-qcom.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ static void handle_se_timeout(struct spi_master *spi,
166166
* doesn`t support CMD Cancel sequnece
167167
*/
168168
spin_unlock_irq(&mas->lock);
169-
goto unmap_if_dma;
169+
goto reset_if_dma;
170170
}
171171

172172
reinit_completion(&mas->cancel_done);
@@ -175,7 +175,7 @@ static void handle_se_timeout(struct spi_master *spi,
175175

176176
time_left = wait_for_completion_timeout(&mas->cancel_done, HZ);
177177
if (time_left)
178-
goto unmap_if_dma;
178+
goto reset_if_dma;
179179

180180
spin_lock_irq(&mas->lock);
181181
reinit_completion(&mas->abort_done);
@@ -193,7 +193,7 @@ static void handle_se_timeout(struct spi_master *spi,
193193
mas->abort_failed = true;
194194
}
195195

196-
unmap_if_dma:
196+
reset_if_dma:
197197
if (mas->cur_xfer_mode == GENI_SE_DMA) {
198198
if (xfer) {
199199
if (xfer->tx_buf) {

0 commit comments

Comments
 (0)