diff options
author | Arun Murthy <arun.murthy@stericsson.com> | 2011-08-17 16:27:51 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-12-06 11:01:03 +0100 |
commit | ac0e6b0b5ad010363cd79fa6823e9824fc193f80 (patch) | |
tree | 6a5a0e8f51211637b524a0882e965c26a83dac68 | |
parent | d32124463bc63ec48e4843beff106cddc988ca89 (diff) |
modem: u8500-shrm: Error case not handled properly
After creation of single threaded workqueue, typo in checking the error
condition.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 356913
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Idc89353a2848a251a71999ffb0fe61fe3f11f08a
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28928
Reviewed-by: QATOOLS
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
-rw-r--r-- | drivers/modem/shrm/shrm_protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/modem/shrm/shrm_protocol.c b/drivers/modem/shrm/shrm_protocol.c index d2efbc6e5fd..990591faee1 100644 --- a/drivers/modem/shrm/shrm_protocol.c +++ b/drivers/modem/shrm/shrm_protocol.c @@ -722,7 +722,7 @@ int shrm_protocol_init(struct shrm_dev *shrm, goto free_wq2; } shrm->shm_ca_wake_wq = create_singlethread_workqueue("shm_ca_wake_req"); - if (!shrm->shm_ac_wake_wq) { + if (!shrm->shm_ca_wake_wq) { dev_err(shrm->dev, "failed to create work queue\n"); err = -ENOMEM; goto free_wq3; |