Skip to content

USB: OHCI:Properly handle ohci_suspend()routine in bus glue

Majunath Goudar linux-arm-kernel linux-samsung-soc lkml 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 0 repliesNew
  2. v34 of 6 patches 0 repliesSuperseded
  3. v2 posting 2/27 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/211 patches0 repliesSuperseded
v111 patches0 repliesSuperseded

Changes in v4 from the cover letter

-Dropped "[PATCH 5/7] USB: OHCI: Properly handle ohci-ep93xx suspend" in
this version, as H Hartley Sweeten has just submitted a patch to remove ohci-ep93xx entirely.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6USB: OHCI: Properly handle OHCI controller suspenddrivers/usb/host/ohci-hcd.c+8 -10 replies
2/6USB: OHCI: Properly handle ohci-at91 suspenddrivers/usb/host/ohci-at91.c+9 -20 replies
3/6USB: OHCI: Properly handle ohci-s3c2410 suspenddrivers/usb/host/ohci-s3c2410.c+4 -170 replies
3/6USB: OHCI: Properly handle ohci-s3c2410 suspenddrivers/usb/host/ohci-s3c2410.c+4 -170 replies
4/6USB: OHCI: Properly handle ohci-da8xx suspenddrivers/usb/host/ohci-da8xx.c+12 -40 replies
5/6USB: OHCI: Properly handle ohci-exynos suspenddrivers/usb/host/ohci-exynos.c+6 -160 replies
5/6USB: OHCI: Properly handle ohci-exynos suspenddrivers/usb/host/ohci-exynos.c+6 -160 replies
6/6USB: OHCI: Properly handle ohci-spear suspenddrivers/usb/host/ohci-spear.c+9 -30 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchAlan Stern
1/6A-b
2/6A-b
3/6A-b A-b
3/6A-b A-b
4/6A-b
5/6A-b A-b
5/6A-b A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH V4 0/6]USB: OHCI:Properly handle ohci_suspend()routine in bus glue

Suspend scenario in case of ohci bus glue was not properly handled as it was not suspending generic part of ohci controller. Alan Stern suggested, properly handle ohci suspend scenario.

Calling explicitly the ohci_suspend()routine will ensure proper handling of suspend scenario.

This patch set is rebased on greghk/usb-next 3.13-rc1 and successfully built without any build error.

V3->V4:
-Dropped "[PATCH 5/7] USB: OHCI: Properly handle ohci-ep93xx suspend" in
this version, as H Hartley Sweeten has just submitted a patch to remove ohci-ep93xx entirely.

-[PATCH 2/6] The ohci_suspend() calling after enable_irq_wake, if ohci_suspend
fails disabling the irq.

-Added Alan acked-by.

V2->V3:
-Rewrote the remaining patches on top of the latest Greg usb-next branch. This patch set not gives any build error. Patch set is required for proper suspend of ohci host controller as Alan mentioned.

-Initially when I wrote this patch set I was working in Linaro, now I am not part of Linaro that is why Linaro id is bouncing. Sending this patch set from personal mail id.

V1->V2:
-This version is fixing the ohci-ep93xx build error reported by Olof Johansson:

drivers/usb/host/ohci-ep93xx.c: In function 'ohci_hcd_ep93xx_drv_suspend':
drivers/usb/host/ohci-ep93xx.c:126:2: error: implicit declaration of function 'ep93xx_stop_hc'

Due to the build failure on "[PATCH 5/11] USB: OHCI: Properly handle ohci-ep93xx suspend" following patches were reverted. [PATCH 1/11]USB: OHCI: Properly handle OHCI controller suspend [PATCH 2/11] USB: OHCI: Properly handle ohci-at91 suspend [PATCH 3/11] USB: OHCI: Properly handle ohci-s3c2410 suspend [PATCH 4/11] USB: OHCI: Properly handle ohci-da8xx suspend [PATCH 5/11] USB: OHCI: Properly handle ohci-ep93xx suspend [PATCH 6/11] USB: OHCI: Properly handle ohci-exynos suspend [PATCH 11/11] USB: OHCI: Properly handle ohci-spear suspend

The following 4 patches are fine and present in usb-next Commit id "10abfa13"[PATCH 7/11] Properly handle ohci-omap suspend. Commit id "39dbd7df"[PATCH 8/11] Properly handle ohci-platform suspend. Commit id "4ceaa893"[PATCH 9/11] Properly handle ohci-pxa suspend. Commit id "f3c60599"[PATCH 10/11] Properly handle ohci-sm501 suspend.

This patch set is working properly.

Majunath Goudar (6):
USB: OHCI: Properly handle OHCI controller suspend
USB: OHCI: Properly handle ohci-at91 suspend
USB: OHCI: Properly handle ohci-s3c2410 suspend
USB: OHCI: Properly handle ohci-da8xx suspend
USB: OHCI: Properly handle ohci-exynos suspend
USB: OHCI: Properly handle ohci-spear suspend

 drivers/usb/host/ohci-at91.c    |   11 +++++++++--
 drivers/usb/host/ohci-da8xx.c   |   16 ++++++++++++----
 drivers/usb/host/ohci-exynos.c  |   22 ++++++----------------
 drivers/usb/host/ohci-hcd.c     |    9 ++++++++-
 drivers/usb/host/ohci-s3c2410.c |   21 ++++-----------------
 drivers/usb/host/ohci-spear.c   |   12 +++++++++---
 6 files changed, 48 insertions(+), 43 deletions(-)
Signature · 1 line
1.7.9.5