From: Deng-Cheng Zhu
Now that UHCI IO registers have been defined in uhci-hcd.h, use them.
Reviewed-by: James Hogan
Signed-off-by: Deng-Cheng Zhu
---
drivers/usb/host/uhci-debug.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/uhci
This series contains hardcoding-to-macro changes in uhci-debug.c and
removal of the redundant OK() macro in uhci-hub.c.
Deng-Cheng Zhu (2):
USB/host: Use existing macros instead of hard-coded values in
uhci-debug.c
USB/host: Cleaning up the OK macro in uhci-hub.c
drivers/usb/host/uhci
From: Deng-Cheng Zhu
The logic "len = (x)" in OK(x) is dead. Clean it up.
Reviewed-by: James Hogan
Signed-off-by: Deng-Cheng Zhu
---
drivers/usb/host/uhci-hub.c | 30 ++
1 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/drivers/usb/host/
addition to the OK macro removal.
--
Deng-Cheng Zhu (2):
USB/host: Use existing macros instead of hard-coded values in
uhci-debug.c
USB/host: Bugfix: Return length of copied buffer in
uhci_hub_control()
drivers/usb/host/uhci-debug.c | 16
drivers/usb/host/uhci
From: Deng-Cheng Zhu
In addition to the error statuses -ETIMEDOUT and -EPIPE, uhci_hub_control()
needs to return the length of copied buffer when appropriate, so that the
returned status of ->hub_control() in rh_call_control() in the USB core
HCD can be properly handled.
This patch also remo
From: Deng-Cheng Zhu
Now that UHCI IO registers have been defined in uhci-hcd.h, use them.
Reviewed-by: James Hogan
Acked-by: Alan Stern
Signed-off-by: Deng-Cheng Zhu
---
drivers/usb/host/uhci-debug.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a
22, 2014 8:07AM
*To:* Dâniel Fraga <mailto:frag...@gmail.com>
*Cc:* dengcheng.zhu <mailto:dengcheng@imgtec.com>, James Hogan
<mailto:james.ho...@imgtec.com>, USB list <mailto:linux-usb@vger.kernel.org>
*Subject:* Re: Regression cause by commit f1125f81 (from Deng-Cheng Zhu)