Searched hist:"83 a43ff80a566de8718dfc6565545a0080ec1fb5" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/chipidea/ |
H A D | ci_hdrc_imx.c | diff 83a43ff80a566de8718dfc6565545a0080ec1fb5 Tue Nov 17 02:14:30 CET 2020 Yu Kuai <yukuai3@huawei.com> usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data()
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>
|