EHCI: HSIC: Add debug support for HSIC system error

Halt the system when HSIC system error happens and dump HSIC
link registres. Also, save the address of msm_hsic_hcd
structure to a global pointer.

CRs-Fixed: 375536
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Change-Id: Ia346778911f610338f38492bc1ff0e8a9c7a87c7
This commit is contained in:
Hemant Kumar
2012-07-02 15:33:07 -07:00
committed by Stephen Boyd
parent 917e83e6f4
commit 5192c55046
3 changed files with 27 additions and 0 deletions

View File

@@ -349,6 +349,7 @@ struct hc_driver {
/* to log completion events*/
void (*log_urb_complete)(struct urb *urb, char * event,
unsigned extra);
void (*dump_regs)(struct usb_hcd *);
void (*enable_ulpi_control)(struct usb_hcd *hcd, u32 linestate);
void (*disable_ulpi_control)(struct usb_hcd *hcd);
};