As the acpi translator requires libirqhelp, we cannot fail when
libirqhelp cannot connect to acpi translator, break the egg/chicken.

acpi translator will only call the irqhelp api with fixed gsi during startup,
so won't require itself to be started yet.

libacpica has a pending change to use libirqhelp, with a workaround
to skip over irqhelp_init returning the old error, to decouple the two
changes.

After this change is merged, we can update libacpica to fix the FIXME.

---
 libirqhelp/irqhelp.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libirqhelp/irqhelp.c b/libirqhelp/irqhelp.c
index 985885b9..49089a30 100644
--- a/libirqhelp/irqhelp.c
+++ b/libirqhelp/irqhelp.c
@@ -129,10 +129,7 @@ irqhelp_init(void)
 
   err = get_acpi();
   if (err)
-    {
-      log_error("cannot grab acpi device\n");
-      return err;
-    }
+    log_error("cannot grab acpi device, continuing\n");
 
   inited = true;
   return 0;
-- 
2.45.2



Reply via email to