Staging: heci: fix typos and add wait after disconnect
authorDongxiao Xu <dongxiao.xu@intel.com>
Sun, 31 May 2009 06:43:51 +0000 (14:43 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:55 +0000 (11:00 -0700)
commit52b855600c5c16c13b6f288f3536d01c2603e78d
tree114159b3e83b90f2135e9a8e723eab57dc722fe4
parent58b25a63a18e88052c8f5f068e68feaac4c6831d
Staging: heci: fix typos and add wait after disconnect

- Fix typo for enum HECI_WRITE.
 - Fix timeout issue. If the time period is greater or equal 15s, it's timeout.
 - Add 10ms wait time after disconnect, to ensure that hardware is ready.
   Otherwise in the next time connection, hardware resource may be busy.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/heci/heci_init.c
drivers/staging/heci/heci_main.c
drivers/staging/heci/interrupt.c