]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
USB: chipidea: msm: fix ulpi-node lookup
authorJohan Hovold <johan@kernel.org>
Mon, 13 Nov 2017 10:12:58 +0000 (11:12 +0100)
committerPeter Chen <peter.chen@nxp.com>
Wed, 13 Dec 2017 01:50:52 +0000 (09:50 +0800)
commit964728f9f407eca0b417fdf8e784b7a76979490c
tree2d819200b74b0d16967a02071e6ac8f933f805c2
parent72b663a99c074a8d073e7ecdae446cfb024ef551
USB: chipidea: msm: fix ulpi-node lookup

Fix child-node lookup during probe, which ended up searching the whole
device tree depth-first starting at the parent rather than just matching
on its children.

Note that the original premature free of the parent node has already
been fixed separately, but that fix was apparently never backported to
stable.

Fixes: 47654a162081 ("usb: chipidea: msm: Restore wrapper settings after reset")
Fixes: b74c43156c0c ("usb: chipidea: msm: ci_hdrc_msm_probe() missing of_node_get()")
Cc: stable <stable@vger.kernel.org> # 4.10: b74c43156c0c
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/ci_hdrc_msm.c