1. 31 Dec, 2019 1 commit
    • Rahix's avatar
      revert(bhi160): Re-add hack to fix axis mapping · 448ec494
      Rahix authored
      Originally, commit 1a3dfad3 ("fix(bhi160): Fix interrupt behavior
      during initialization") was supposed to fix the BHI160 axis-mapping
      issue (see #133) but apparently on some devices it still
      needs the original hack to work.  Revert the removal of the axis-mapping
      hack from commit 2f56ff36 ("fix(bhi160): Call bhy_mapping_matrix_set
      twice for the first time").
      
      Fixes: 1a3dfad3 ("fix(bhi160): Fix interrupt behavior during initialization")
      Link: #133Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      448ec494
  2. 29 Dec, 2019 1 commit
    • Rahix's avatar
      fix(bhi160): Disable driver on critical error · 23b4a9ed
      Rahix authored
      If initialization fails, bhi160 API calls should not infinitely block
      waiting for it to complete; they should fail immediately with an error
      stating that something went wrong.
      
      Add a flag that indicates the driver to not accept API requests because
      initialization was not finished properly.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      23b4a9ed
  3. 28 Dec, 2019 2 commits
  4. 22 Dec, 2019 1 commit
    • Rahix's avatar
      chore(hw-locks): Rename to hwlock_acquire_timeout · 610a3048
      Rahix authored
      Rename hwlock_acquire() to hwlock_acquire_timeout() in preparation for
      future changes to the hw-lock API.  Change all uses of the hw-lock API
      to reflect this change.
      
      This commit does not introduce any functional changes, except getting
      rid of the timeout usage warnings.  This change is no-op, because the
      hwlock_acquire() implementation already replaces any non-zero timeout
      value with portMAX_DELAY.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      610a3048
  5. 06 Dec, 2019 1 commit
  6. 19 Nov, 2019 1 commit
  7. 05 Oct, 2019 1 commit
  8. 22 Sep, 2019 1 commit
  9. 16 Sep, 2019 1 commit
  10. 14 Sep, 2019 1 commit
  11. 24 Aug, 2019 2 commits
  12. 22 Aug, 2019 12 commits