]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b87bda60f2a96f35f02d1e70ece6cdc1e5c79de
tree114159b3e83b90f2135e9a8e723eab57dc722fe4
parentb92a341ce35930e543b9e3bceebc0db06793d8ea
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