diff options
author | 2014-12-24 11:33:17 +0800 | |
---|---|---|
committer | 2015-01-09 09:45:30 -0800 | |
commit | 24c498df1c70fa3b8b4df18f4424904bf014c709 (patch) | |
tree | 181cd98e1804750626c06e4f23074a00dc0e974f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'for-3.19-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-linus (diff) | |
download | wireguard-linux-24c498df1c70fa3b8b4df18f4424904bf014c709.tar.xz wireguard-linux-24c498df1c70fa3b8b4df18f4424904bf014c709.zip |
Revert "usb: chipidea: remove duplicate dev_set_drvdata for host_start"
This reverts commit 14b4099c074f2ddf4d84b22d370170e61b527529
It moved platform_set_drvdata(pdev, ci) before hcd is created,
and the hcd will assign itself as ci controller's drvdata during
the hcd creation function (in usb_create_shared_hcd), so it
overwrites the real ci's drvdata which we want to use.
So, if the controller is at host mode, the system suspend
API will get the wrong struct ci_hdrc pointer, and cause the
oops.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions