]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
usb: host: tegra: fix usb-device reset in LP0 exit
authorJeetesh Burman <jburman@nvidia.com>
Fri, 4 Oct 2013 05:53:56 +0000 (11:23 +0530)
committerGerrit Code Review <gerrit2@nvidia.com>
Fri, 22 Nov 2013 06:12:07 +0000 (22:12 -0800)
commit6041729087c1977eb3a79ca473d2da37de6bc6a1
tree8373c10d36efa933376fb563acfb4b70e19c77d5
parentf65c854bfff76d0bb7b6cbbf7cada91291a31ae1
usb: host: tegra: fix usb-device reset in LP0 exit

While resuming from LP0, ehci getting reset that causes
ip address lost if usb-ethernet dongle is used for
network connection, this is happend because usb-ehci resume
functionality called twice and therefore USB_PORTSC_CCS bit
in register USB_PORTSC get changed, which causes reset command
sent to the utmi.

To maintain uniformity, changes also done in tegra_ehci_suspend.

In the tegra_ehci_probe, unnecessary tried to resume ehci. So,
removing resume functionality while probing ehci.

Bug 1355760

Change-Id: I6b170131704b36e722ed2b8ec2abb770770fd859
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
drivers/usb/host/ehci-tegra.c