"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "8bca98cabf6db738b06d6f3b6d4b6c5f2a5cb7b6"
mfd: Fix usbhs_enable error handling
In the case of missing platform_data we do not hold a spin_lock, thus we should not call spin_unlock_irqrestore in the error path. Also simplify the error handling by separating the successful path from error path. I think this change improves readability. Signed-off-by:Axel Lin <axel.lin@gmail.com> Tested-by:
Steve Calfee <stevecalfee@gmail.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
Loading
Please register or sign in to comment