mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
mei: vsc: Don't call vsc_tp_reset() a second time on shutdown
Now that mei_vsc_hw_reset() no longer re-inits the VSC when called from mei_stop(), vsc_tp_shutdown() unregistering the platform-device, which runs mei_stop() is sufficient to put the VSC in a clean state. Signed-off-by: Hans de Goede <hansg@kernel.org> Link: https://lore.kernel.org/r/20250623085052.12347-4-hansg@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
880af854d6
commit
0b504fdb85
|
|
@ -547,8 +547,6 @@ static void vsc_tp_shutdown(struct spi_device *spi)
|
|||
|
||||
mutex_destroy(&tp->mutex);
|
||||
|
||||
vsc_tp_reset(tp);
|
||||
|
||||
free_irq(spi->irq, tp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user