diff options
author | David Vrabel <david.vrabel@csr.com> | 2009-01-07 10:54:22 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2009-01-07 10:54:22 +0000 |
commit | a5e6ced58d423cb09c4fc0087dcfdb0b5deb5e1c (patch) | |
tree | 56ab507e1df59cae1f57c2f5883bc676f1147441 /drivers/usb/host/whci/whcd.h | |
parent | a23e66f3b8cfdedec14541e71ef29a754870a20c (diff) | |
download | op-kernel-dev-a5e6ced58d423cb09c4fc0087dcfdb0b5deb5e1c.zip op-kernel-dev-a5e6ced58d423cb09c4fc0087dcfdb0b5deb5e1c.tar.gz |
wusb: timeout when waiting for ASL/PZL updates in whci-hcd
Timeout if an ASL or PZL update doesn't not complete and reset the
hardware.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/usb/host/whci/whcd.h')
-rw-r--r-- | drivers/usb/host/whci/whcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/whci/whcd.h b/drivers/usb/host/whci/whcd.h index 0f3540f..d3543a1 100644 --- a/drivers/usb/host/whci/whcd.h +++ b/drivers/usb/host/whci/whcd.h @@ -137,6 +137,7 @@ void whc_clean_up(struct whc *whc); /* hw.c */ void whc_write_wusbcmd(struct whc *whc, u32 mask, u32 val); int whc_do_gencmd(struct whc *whc, u32 cmd, u32 params, void *addr, size_t len); +void whc_hw_error(struct whc *whc, const char *reason); /* wusb.c */ int whc_wusbhc_start(struct wusbhc *wusbhc); |