staging: android: logger: reorder prepare_to_wait and mutex_lock
authorTim Bird <tim.bird@am.sony.com>
Wed, 8 Feb 2012 02:30:09 +0000 (18:30 -0800)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 25 Apr 2012 22:24:15 +0000 (01:24 +0300)
If mutex_lock waits, it will return in state TASK_RUNNING,
rubbing out the effect of prepare_to_wait().

Signed-off-by: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found