Message ID | 20240910022618.1397-4-yangyingliang@huaweicloud.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f4bf5454f852b86d3b4be69f058fd36a61cd81bf |
Headers | show |
Series | spi: replace and remove spi_slave_abort() | expand |
diff --git a/drivers/spi/spi-slave-system-control.c b/drivers/spi/spi-slave-system-control.c index d37cfe995a63..8f5c32b61a5b 100644 --- a/drivers/spi/spi-slave-system-control.c +++ b/drivers/spi/spi-slave-system-control.c @@ -136,7 +136,7 @@ static void spi_slave_system_control_remove(struct spi_device *spi) { struct spi_slave_system_control_priv *priv = spi_get_drvdata(spi); - spi_slave_abort(spi); + spi_target_abort(spi); wait_for_completion(&priv->finished); }