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

2020-07-24 Thread Thomas Bogendoerfer
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:

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

2020-07-21 Thread Yu Kuai
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