ath9k_htc: Update to upstream's commit d19607454d656cb14d8c16dfbf161eebb542e8fe dated...
[linux-libre-firmware.git] / ath9k_htc / target_firmware / magpie_fw_dev / target / hif / k2_HIF_usb_patch.c
index ab8237f54f99653bbcdeca80d9d8088ba79e0a8a..6276f79d4c37e2bbcdfe77ef3076404744ac6c3d 100755 (executable)
 #include <hif_api.h>
 #include <Magpie_api.h>
 #include <vdesc_api.h>
-#include <adf_os_mem.h> 
+#include <adf_os_mem.h>
 #include <adf_os_io.h>
+#include <rom.h>
 
 #include "hif_usb.h"
 
 /*
- * -- support more than 64 bytes command on ep4 -- 
+ * -- support more than 64 bytes command on ep4 --
  */
 int _HIFusb_get_max_msg_len_patch(hif_handle_t handle, int pipe)
 {
@@ -54,7 +55,7 @@ int _HIFusb_get_max_msg_len_patch(hif_handle_t handle, int pipe)
         case HIF_USB_PIPE_INTERRUPT:
         case HIF_USB_PIPE_COMMAND:
             return 512;
-            
+
         default:
             return 1600;
     }
@@ -67,5 +68,5 @@ void _HIFusb_isr_handler_patch(hif_handle_t h)
 {
     A_USB_FW_TASK();
 
-    _HIFusb_isr_handler();
+    _HIFusb_isr_handler(h);
 }