Messages in this thread | | | Date | Sun, 05 Jan 2014 14:58:17 +0200 | From | Ivaylo Dimitrov <> | Subject | Re: [PATCH] ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks |
| |
On 04.01.2014 14:51, Pavel Machek wrote: > On Mon 2013-12-30 18:17:52, Ivaylo Dimitrov wrote: >> From: Ivaylo Dimitrov <freemangordon@abv.bg> >> >> 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 <freemangordon@abv.bg> > Reviewed-by: Pavel Machek <pavel@ucw.cz>
Hmm, I introduced a bug with that patch (recursive lock), will send a new version that fixes it
Regards, Ivo
| |