Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211702
b: refs/heads/master
c: 4a4a506
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 12, 2010
1 parent dd99791 commit 817e3ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45e8492f594dcb17e8cbb26edb2dd3018a68dada
refs/heads/master: 4a4a506f81eebe63fb1b8e9e99f4bcd1fd9aac66
4 changes: 2 additions & 2 deletions trunk/drivers/input/serio/hp_sdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ static int __init hp_sdc_init(void)
ts_sync[1] = 0x0f;
ts_sync[2] = ts_sync[3] = ts_sync[4] = ts_sync[5] = 0;
t_sync.act.semaphore = &s_sync;
init_MUTEX_LOCKED(&s_sync);
sema_init(&s_sync, 0);
hp_sdc_enqueue_transaction(&t_sync);
down(&s_sync); /* Wait for t_sync to complete */

Expand Down Expand Up @@ -1039,7 +1039,7 @@ static int __init hp_sdc_register(void)
return hp_sdc.dev_err;
}

init_MUTEX_LOCKED(&tq_init_sem);
sema_init(&tq_init_sem, 0);

tq_init.actidx = 0;
tq_init.idx = 1;
Expand Down

0 comments on commit 817e3ba

Please sign in to comment.