31004e6
From 37444041eb9063e3c4cdccefdb3f3574f0ced4ec Mon Sep 17 00:00:00 2001
31004e6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
31004e6
Date: Fri, 12 Apr 2013 20:51:11 +0200
f74b50e
Subject: [PATCH 293/482] 	* grub-core/bus/usb/ehci.c
31004e6
 (grub_ehci_fini_hw): Ignore errors, not 	much we can do about it
31004e6
 anyway.
31004e6
31004e6
---
31004e6
 ChangeLog                | 5 +++++
31004e6
 grub-core/bus/usb/ehci.c | 6 ++----
31004e6
 2 files changed, 7 insertions(+), 4 deletions(-)
31004e6
31004e6
diff --git a/ChangeLog b/ChangeLog
31004e6
index e8e4569..0d5c836 100644
31004e6
--- a/ChangeLog
31004e6
+++ b/ChangeLog
31004e6
@@ -1,3 +1,8 @@
31004e6
+2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
31004e6
+
31004e6
+	* grub-core/bus/usb/ehci.c (grub_ehci_fini_hw): Ignore errors, not
31004e6
+	much we can do about it anyway.
31004e6
+
31004e6
 2013-04-12  AleŇ° Nesrsta  <starous@volny.cz>
31004e6
 
31004e6
 	Fix handling of split transfers.
31004e6
diff --git a/grub-core/bus/usb/ehci.c b/grub-core/bus/usb/ehci.c
31004e6
index 18b12b2..d18a87f 100644
31004e6
--- a/grub-core/bus/usb/ehci.c
31004e6
+++ b/grub-core/bus/usb/ehci.c
31004e6
@@ -1883,12 +1883,10 @@ grub_ehci_fini_hw (int noreturn __attribute__ ((unused)))
31004e6
         & grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND));
31004e6
 
31004e6
       /* Check if EHCI is halted and halt it if not */
31004e6
-      if (grub_ehci_halt (e) != GRUB_USB_ERR_NONE)
31004e6
-	grub_error (GRUB_ERR_TIMEOUT, "fini_hw: EHCI halt timeout");
31004e6
+      grub_ehci_halt (e);
31004e6
 
31004e6
       /* Reset EHCI */
31004e6
-      if (grub_ehci_reset (e) != GRUB_USB_ERR_NONE)
31004e6
-	grub_error (GRUB_ERR_TIMEOUT, "fini_hw: EHCI reset timeout");
31004e6
+      grub_ehci_reset (e);
31004e6
     }
31004e6
 
31004e6
   return GRUB_USB_ERR_NONE;
31004e6
-- 
31004e6
1.8.2.1
31004e6