Xiang Chen 9b311b7313 ACPI: NFIT: Install Notify() handler before getting NFIT table
If there is no NFIT at startup, it will return 0 immediately in function
acpi_nfit_add() and will not install Notify() handler. If hotplugging
a nvdimm device later, it will not be identified as there is no Notify()
handler.

Install the handler before getting NFI table in function acpi_nfit_add()
to avoid above issue.

Fixes: dcca12ab62a2 ("ACPI: NFIT: Install Notify() handler directly")
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-10-22 12:47:43 +02:00
..
2023-08-25 20:55:47 +02:00
2020-11-09 19:25:20 +01:00
2022-05-25 15:37:07 +02:00
2022-01-22 08:33:37 +02:00
2020-11-09 19:08:06 +01:00
2023-09-01 16:54:25 -07:00
2023-03-27 20:50:28 +02:00
2022-10-03 20:09:22 +02:00
2020-11-09 19:08:06 +01:00