]> git.ipfire.org Git - thirdparty/linux.git/commit
mei: txe: fix initialization order
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sun, 19 Oct 2025 07:36:59 +0000 (10:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Oct 2025 06:03:57 +0000 (08:03 +0200)
commit2463ae285e5c162686fb19e822fb6b535e6e728a
treef8946969309b6cacc11ccce48e004e0787dfcbf8
parent87b318ba81dda2ee7b603f4f6c55e78ec3e95974
mei: txe: fix initialization order

The mei_register() should move before the mei_start() for hook
on class device to work.
Same change was implemented in mei-me, missed from mei-txe.

Fixes: 7704e6be4ed2 ("mei: hook mei_device on class device")
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Link: https://patch.msgid.link/20251019073659.2646791-1-alexander.usyskin@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/pci-txe.c