Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dffc70ad authored by Wei Yongjun's avatar Wei Yongjun Committed by Tomi Valkeinen
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: default avatarSumit Semwal <sumit.semwal@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent f65e384b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);