mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
OMAPDSS: HDMI: fix missing unlock on error in hdmi_dump_regs()
Add the missing unlock on the error handling path in function hdmi_dump_regs(). Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Sumit Semwal <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
This commit is contained in:
parent
f65e384bec
commit
dffc70ade1
1 changed files with 3 additions and 1 deletions
|
|
@ -644,8 +644,10 @@ static void hdmi_dump_regs(struct seq_file *s)
|
|||
{
|
||||
mutex_lock(&hdmi.lock);
|
||||
|
||||
if (hdmi_runtime_get())
|
||||
if (hdmi_runtime_get()) {
|
||||
mutex_unlock(&hdmi.lock);
|
||||
return;
|
||||
}
|
||||
|
||||
hdmi.ip_data.ops->dump_wrapper(&hdmi.ip_data, s);
|
||||
hdmi.ip_data.ops->dump_pll(&hdmi.ip_data, s);
|
||||
|
|
|
|||
Loading…
Reference in a new issue