Skip to content
Commit 4895398d authored by Prasant Jalan's avatar Prasant Jalan Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: fixing function return with lock held



lynxfb_suspend() & lynxfb_resume() return on errors while holding
console_lock.

Adding 'goto' such that proper cleanups can be done before returning
from function and therefore console_lock can be released before
returning.

Signed-off-by: default avatarPrasant Jalan <prasant.jalan@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d6171ba8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment