From e72392c76d27d8fe19e747be7900e92ef6e6d379 Mon Sep 17 00:00:00 2001 From: Yanmin Zhang Date: Tue, 27 Mar 2012 02:34:55 +0800 Subject: [PATCH] [REVERT ME] tty-ffl: Change ffl_hangup_wq to be a freezable workqueue BZ:27289 When system goes to s3, tty-ffl might detect a modem TX timeout and start error recovery before hsi is resumed. The patch changes workqueue ffl_hangup_wq to be freezable. Change-Id: I5b9e7b1bffccfc016afd4e373e2ba438a81680a0 Signed-off-by: Yanmin Zhang Reviewed-on: http://android.intel.com:8080/40789 Reviewed-by: Roulliere, Pierre Reviewed-by: Chotard, Celine Tested-by: Chotard, Celine Reviewed-by: Predon, Frederic Reviewed-by: buildbot Tested-by: buildbot --- drivers/hsi/clients/hsi_ffl_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hsi/clients/hsi_ffl_tty.c b/drivers/hsi/clients/hsi_ffl_tty.c index afe0c9e..e2e04cc 100644 --- a/drivers/hsi/clients/hsi_ffl_tty.c +++ b/drivers/hsi/clients/hsi_ffl_tty.c @@ -3920,7 +3920,7 @@ static int __init ffl_driver_init(void) } /* Create the workqueue for tx hangup */ - ffl_hangup_wq = create_singlethread_workqueue(DRVNAME "-hg"); + ffl_hangup_wq = create_freezable_workqueue(DRVNAME "-hg"); if (unlikely(!ffl_hangup_wq)) { pr_err(DRVNAME ": unable to create tx hangup workqueue"); err = -EFAULT; -- 2.7.4