summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/whci/whci-hc.h
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2008-10-27 15:42:31 +0000
committerDavid Vrabel <david.vrabel@csr.com>2008-10-28 12:08:46 +0000
commit4d2bea4ca0adb4cebfbf89d34869c74081c42577 (patch)
tree3ed316eca5ab3228e2e01fc4a83c04297becd105 /drivers/usb/host/whci/whci-hc.h
parentd409f3bf47c5e5ae10601d079204e263bc176bcf (diff)
downloadlinux-4d2bea4ca0adb4cebfbf89d34869c74081c42577.tar.gz
linux-4d2bea4ca0adb4cebfbf89d34869c74081c42577.tar.bz2
linux-4d2bea4ca0adb4cebfbf89d34869c74081c42577.zip
wusb: do a proper channel stop
When stopping the WUSB channel the host should send Channel Stop IEs giving the WUSB Channel Time of the last MMC. Both WHCI and HWA hosts provide a channel stop command for this. Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/usb/host/whci/whci-hc.h')
-rw-r--r--drivers/usb/host/whci/whci-hc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/whci/whci-hc.h b/drivers/usb/host/whci/whci-hc.h
index bff1eb7a35cf..51df7e313b38 100644
--- a/drivers/usb/host/whci/whci-hc.h
+++ b/drivers/usb/host/whci/whci-hc.h
@@ -410,6 +410,8 @@ struct dn_buf_entry {
# define WUSBDNTSCTRL_SLOTS(s) ((s) << 0)
#define WUSBTIME 0x68
+# define WUSBTIME_CHANNEL_TIME_MASK 0x00ffffff
+
#define WUSBBPST 0x6c
#define WUSBDIBUPDATED 0x70