cyapa - attempt #2 to fix boot issue
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 18 Aug 2014 07:55:09 +0000 (00:55 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 18 Aug 2014 08:00:19 +0000 (01:00 -0700)
commit7cc2698dbb58c2016b718fc1e8a6fe19bacf1db0
tree644dcc6abfcc359bc6de85f2f7245665c6e5a0c2
parentc737e47cd0a97af504a886a3c2f8cbcdf419ce9b
cyapa - attempt #2 to fix boot issue

* Previous fix didn't work.  It appears that the trackpad can sometimes
  loose its mind even after initializing ok, so instead of doing a load-time
  fix we now check the status byte in the poll.

* If the poll status indicates that cyapa is not running the device will be
  bootstrapped again.

* Also, when not running do not try to interpret remaining status fields
  for input.
sys/dev/smbus/cyapa/cyapa.c