diff options
author | Arun Murthy <arun.murthy@stericsson.com> | 2011-08-17 16:27:51 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:07:14 +0200 |
commit | c9dd7d5b6135bd2ef42f8202cdf72aeb5358fab6 (patch) | |
tree | 1eb7f14e7e6fd91dec54954b4ead684fac5277f4 /drivers/modem | |
parent | bd003374c1653bf3c749c34e0211c4e2ded1b57b (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>
Diffstat (limited to 'drivers/modem')
-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; |