Re: [PATCH] MIPS: OCTEON: add missing put_device() call in dwc3_octeon_device_init()

From: Thomas Bogendoerfer
Date: Fri Jul 24 2020 - 05:15:16 EST


On Tue, Jul 21, 2020 at 09:47:18PM +0800, Yu Kuai wrote:
> if of_find_device_by_node() succeed, dwc3_octeon_device_init() doesn't have
> a corresponding put_device(). Thus add put_device() to fix the exception
> handling for this function implementation.
>
> Fixes: 93e502b3c2d4 ("MIPS: OCTEON: Platform support for OCTEON III USB controller")
> Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>
> ---
> arch/mips/cavium-octeon/octeon-usb.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]