]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ehci-platform: fix companion-device leak
authorJohan Hovold <johan@kernel.org>
Tue, 16 May 2017 14:26:13 +0000 (16:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2017 09:52:44 +0000 (11:52 +0200)
commitad22b4899c3f3f2bf21c284732444074433da0e8
tree1c323e463e4b02bfd9f8b81db1a6f1daa2a70bdd
parentdf80b7840332e9fa7dfc09b0aaeb4a3aa11427bb
USB: ehci-platform: fix companion-device leak

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

Fixes: 8042a62cc289 ("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