]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/bus/usb/ehci.c (grub_ehci_fini_hw): Ignore errors, not
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 12 Apr 2013 18:51:11 +0000 (20:51 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 12 Apr 2013 18:51:11 +0000 (20:51 +0200)
much we can do about it anyway.

ChangeLog
grub-core/bus/usb/ehci.c

index e8e45695013b48cb5758560283e03584f275e779..0d5c8369f46efebb29f0936b8215e138165163e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/bus/usb/ehci.c (grub_ehci_fini_hw): Ignore errors, not
+       much we can do about it anyway.
+
 2013-04-12  Aleš Nesrsta  <starous@volny.cz>
 
        Fix handling of split transfers.
index 18b12b226e1a5e24270bf108da0d65fe234bc3b9..d18a87f8e371e2df3d40006ce210d3d451acbaec 100644 (file)
@@ -1883,12 +1883,10 @@ grub_ehci_fini_hw (int noreturn __attribute__ ((unused)))
         & grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND));
 
       /* Check if EHCI is halted and halt it if not */
-      if (grub_ehci_halt (e) != GRUB_USB_ERR_NONE)
-       grub_error (GRUB_ERR_TIMEOUT, "fini_hw: EHCI halt timeout");
+      grub_ehci_halt (e);
 
       /* Reset EHCI */
-      if (grub_ehci_reset (e) != GRUB_USB_ERR_NONE)
-       grub_error (GRUB_ERR_TIMEOUT, "fini_hw: EHCI reset timeout");
+      grub_ehci_reset (e);
     }
 
   return GRUB_USB_ERR_NONE;