consoleearlysuspend: Fix warning messages during early suspend

While testing suspend/resume on Samsung SMDKV310 and Origen boards it has been
found that while system tries to enter into suspend, during console early
suspend there is warning message due to unbalance in tty locks. Due to this
sometimes system fails to enter into suspend, this patch fixes the tty mutex
unbalancing.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
1 file changed