Re: [PATCH] ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks

From
Ivaylo Dimitrov <hidden>
Date
2014-01-05 12:58:50
Also in
linux-omap, lkml
Reply to
Pavel Machek, 2014-01-04
On 04.01.2014 14:51, Pavel Machek wrote:
On Mon 2013-12-30 18:17:52, Ivaylo Dimitrov wrote:
quoted
From: Ivaylo Dimitrov <redacted>

Commit c37dd677988ca50bc8bc60ab5ab053720583c168 fixes the unbalanced
unlock in acx565akm_enable but introduces another problem - if
acx565akm_panel_power_on exits early, the mutex is not unlocked. Fix
that by unlocking the mutex on early return. Also add mutex protection in
acx565akm_panel_power_off and remove an unused variable

Signed-off-by: Ivaylo Dimitrov <redacted>
Reviewed-by: Pavel Machek <redacted>
Hmm, I introduced a bug with that patch (recursive lock), will send a 
new version that fixes it

Regards,
Ivo
Thread (10 messages) 10 messages, 3 authors, last reply 2016-01-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help