aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAlexandre Courbot <[email protected]>2011-02-23 08:41:50 +0000
committerPaul Mundt <[email protected]>2011-03-29 16:04:45 +0900
commit247f99386100d1d1c369ba98120d2edebf5426fc (patch)
treea2cfbacd57e3578c3e503d1ff31bde6829652cd0 /scripts/patch-kernel
parent8857b9aa7e64a70852545ee01fa638481cb08a76 (diff)
fbdev: sh_mobile_lcdcfb: fix module lock acquisition
Whenever the LCDC is to be started or stopped, a board callback is checked for existence and invoked. Prior to the invokation, the callback's module lock is also acquired, to be released once the callback returns. However, the order of testing makes it possible for the lock to be acquired and not released in case the callback does not exist. This patch reorders the tests to prevent this particular case. Signed-off-by: Alexandre Courbot <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions