i2c-bfin-twi: Fix mismatch in add timer and delete timer
authorHans Schillstrom <hans.schillstrom@shlsys.com>
Tue, 22 Apr 2008 20:16:48 +0000 (22:16 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 22 Apr 2008 20:16:48 +0000 (22:16 +0200)
commitafc13b765ea71d316ce4974d3dc5a96cc73a0e95
tree29eb54c61797787e642ab31cd0b3615ba6f9a9c0
parentd4ce220d493c2f9c41bad510c959c2130b2f1d0d
i2c-bfin-twi: Fix mismatch in add timer and delete timer

Move init_completion to just before i2c transfer.
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3385

Signed-off-by: Hans Schillstrom <hans.schillstrom@shlsys.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-bfin-twi.c