mei: vsc: Don't call vsc_tp_reset() a second time on shutdown
authorHans de Goede <hansg@kernel.org>
Mon, 23 Jun 2025 08:50:45 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jun 2025 15:39:00 +0000 (16:39 +0100)
commit0b504fdb85fe400d3dd3c0e707af21aae2aeca8f
tree047bc10aff68c2df9bb913c16271d597e30016d7
parent880af854d6343b796f05b9a8b52b68a88535625b
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>
drivers/misc/mei/vsc-tp.c