Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Hans de Goede and committed by
Greg Kroah-Hartman
0b504fdb 880af854

-2
-2
drivers/misc/mei/vsc-tp.c
··· 547 547 548 548 mutex_destroy(&tp->mutex); 549 549 550 - vsc_tp_reset(tp); 551 - 552 550 free_irq(spi->irq, tp); 553 551 } 554 552