| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Android is (now?) expecting input event timestamps to do this.
Resolves screen rotation issue after suspend in Marshmallow.
Signed-off-by: Kyle Repinski <repinski23@gmail.com>
|
|
|
|
|
|
|
|
| |
Unregister PM notifier on probe error or remove. Avoids use
after free function calls observed in suspend/resume.
Change-Id: I8a2a4c523323c090c061cb7525c40c500115bfcc
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|
|
|
|
|
|
|
|
| |
Invensense libmllite needs to be notified when either overflow or underflow
happens in raw values.
When HAL requires to measure hardware offset, coil init will be triggered.
Change-Id: Ib2185242efeceff87c9a1680004699f4f27fef66
Signed-off-by: Jinkyu Song <jksong@sta.samsung.com>
|
|
|
|
|
|
|
|
|
| |
A correction matrix for compensating static soft iron effect is added.
This matrix is defined in a board file. If it is not defined,
this will be skipped.
Change-Id: I18c2d2663943f7527410d457353edbadf5ac4cee
Signed-off-by: Jinkyu Song <jksong@sta.samsung.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The interrupt seems to be cleared automatically.
There does not seem to be a need to read the NewDataStatus(0x0A) register.
This avoids extra write and a read on i2c bus.
Change-Id: I36d0a82fd9a9bb657541f5f60e15679d14b6d0af
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Cc: Nathan Royer <nroyer@invensense.com>
|
|
|
|
|
|
|
|
| |
Populate irqtime in mpuirq_data with ktime_to_ns(ktime_get()).
Change-Id: Ib30f823a909c8a7fbd78446e4eaf9d1c1a693b01
Signed-off-by: Nathan Royer <nroyer@invensense.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
|
|
|
|
|
|
|
|
|
|
| |
The issue was a variable that was suppose to be unsigned was signed.
This lead to all negative numbers on the trim factors being way off.
One of the temperature compensation values was suppose to be slightly
negative and the sign error made it a large negative which caused the problem.
Change-Id: I80de9327504499e57547d9209dc06f5fdcf56636
Signed-off-by: Nathan Royer <nroyer@invensense.com>
|
|
|
|
|
|
|
|
| |
yamaha compass has internal offset register we need to persist. This change
allows access to those registers.
Change-Id: I93034b3a478bfddfc8b71d9cb95e6d7d565838b1
Signed-off-by: Kevin Powell <kpowell@invensense.com>
|
|
|
|
|
|
|
|
| |
There is an issue in read where the expected buffer size was
sizeof(unsigned long) too large.
Change-Id: Id4f22306653304faaead2f10a8ff987e3193f715
Signed-off-by: Nathan Royer <nroyer@invensense.com>
|
|
|
|
|
|
|
|
| |
Each slave can be compiled and linked sumultanously. It
is up to the board file to only probe one slave of each type.
Change-Id: I3f301eb88be6e82af9b78f8c09d4e8d7e1e4b227
Signed-off-by: Nathan Royer <nroyer@invensense.com>
|
|
Supports MPU3050 only
Slave devices are in a seperate commit.
Change-Id: I5a2381bdd7c625351f134b5b8ac3d813218ad800
Signed-off-by: Nathan Royer <nroyer@invensense.com>
|