Sensors: Invensense: 6515: increase event throughput

Fixed an event transfer inefficiency where the HAL wasn't passing up
a full buffer of events to Sensor Services when events were available.

Fixed a couple memset calls and a couple close calls that weren't correct.

Bug: 27103482
Change-Id: Ia699d1b98327708ed18c6679d138e1ac9eb1b425
2 files changed
tree: 7133a4117af65bc37c8c6bb12a56aef47de2e55d
  1. 6515/
  2. 65xx/