hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/hwmon/xgene-hwmon.c
....@@ -768,6 +768,7 @@
768768 {
769769 struct xgene_hwmon_dev *ctx = platform_get_drvdata(pdev);
770770
771
+ cancel_work_sync(&ctx->workq);
771772 hwmon_device_unregister(ctx->hwmon_dev);
772773 kfifo_free(&ctx->async_msg_fifo);
773774 if (acpi_disabled)