summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2020-11-17 09:14:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-12 19:47:55 +0100
commit6aee44231e8d37edd335ec66ee825cef2410582e (patch)
treede83f46f5c75b50a4aab9dbc7eaa3e63fafc058b /drivers/usb/host/xhci.c
parent7562b0e70d303fe1b17e8269b510ef93997bdc2e (diff)
usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data()
commit 83a43ff80a566de8718dfc6565545a0080ec1fb5 upstream. if of_find_device_by_node() succeed, usbmisc_get_init_data() doesn't have a corresponding put_device(). Thus add put_device() to fix the exception handling for this function implementation. Fixes: ef12da914ed6 ("usb: chipidea: imx: properly check for usbmisc") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20201117011430.642589-1-yukuai3@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.c')
0 files changed, 0 insertions, 0 deletions