Message ID | 20240910022618.1397-5-yangyingliang@huaweicloud.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 94628e5a07e71089a61951eb2d2e13685ff82760 |
Headers | show |
Series | spi: replace and remove spi_slave_abort() | expand |
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 14bf0fa65bef..ebab80a2def0 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -666,7 +666,7 @@ static int spidev_release(struct inode *inode, struct file *filp) } #ifdef CONFIG_SPI_SLAVE if (!dofree) - spi_slave_abort(spidev->spi); + spi_target_abort(spidev->spi); #endif mutex_unlock(&device_list_lock);