summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea/host.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-27 03:59:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-27 03:59:14 +0300
commitf7dbd84fd49e487df68b3a95780c275d7da1891c (patch)
tree87363bb81a6c84b12336e78425994822867de4c8 /drivers/usb/chipidea/host.c
parent87cf5586fdc91ea3b27739372af430b35b9c99db (diff)
parent8c100e74409ad3bbcb8a1ccdff4540fc0aa7a0fc (diff)
downloadlinux-f7dbd84fd49e487df68b3a95780c275d7da1891c.tar.xz
Merge tag 'usb-ci-v4.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-testing
Peter writes: The chipidea changes for v4.5-rc1 - Delete static debug for chipidea driver. - Suspend USB core when A device tries to switch to peripheral mode, at former design, it just stopped SoF simply but USB core doesn't know it. - Several small changes.
Diffstat (limited to 'drivers/usb/chipidea/host.c')
-rw-r--r--drivers/usb/chipidea/host.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index 3d24304405b3..053bac9d983c 100644
--- a/drivers/usb/chipidea/host.c
+++ b/drivers/usb/chipidea/host.c
@@ -190,6 +190,8 @@ static void host_stop(struct ci_hdrc *ci)
(ci->platdata->flags & CI_HDRC_TURN_VBUS_EARLY_ON))
regulator_disable(ci->platdata->reg_vbus);
}
+ ci->hcd = NULL;
+ ci->otg.host = NULL;
}