From 6e301223bc7862ea556bd499c36abe88acef7de3 Mon Sep 17 00:00:00 2001 From: Markinus Date: Sat, 4 Sep 2010 11:29:05 +0200 Subject: [PATCH] Revert "htcleo: add fix for PPP bug" This reverts commit 478e27eb7ac44f3e67aefd56085f5da324501f4f. --- arch/arm/mach-msm/smd_tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-msm/smd_tty.c b/arch/arm/mach-msm/smd_tty.c index 0f23be8c..efd52ed0 100644 --- a/arch/arm/mach-msm/smd_tty.c +++ b/arch/arm/mach-msm/smd_tty.c @@ -204,12 +204,12 @@ static int smd_tty_write(struct tty_struct *tty, ** never be able to write more data than there ** is currently space for */ -// mutex_lock(&smd_tty_lock); + mutex_lock(&smd_tty_lock); avail = smd_write_avail(info->ch); if (len > avail) len = avail; ret = smd_write(info->ch, buf, len); -// mutex_unlock(&smd_tty_lock); + mutex_unlock(&smd_tty_lock); return ret; }