USB: ehci-platform: fix companion-device leak
commita7415477a20448bbb7d13765784c0b29249a176f
authorJohan Hovold <johan@kernel.org>
Tue, 16 May 2017 14:26:13 +0000 (16 16:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2017 09:52:44 +0000 (17 11:52 +0200)
tree1c323e463e4b02bfd9f8b81db1a6f1daa2a70bdd
parent1f873d857b6c2fefb4dada952674aa01bcfb92bd
USB: ehci-platform: fix companion-device leak

Make sure do drop the reference taken to the companion device during
resume.

Fixes: d4d75128b8fd ("usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume")
Cc: stable <stable@vger.kernel.org> # 4.11
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-platform.c