mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
board LR097:modify gesnsor orientation to support new sensor framework
This commit is contained in:
parent
53d5940f72
commit
97447f5a8f
|
|
@ -398,7 +398,7 @@ static struct sensor_platform_data mma8452_info = {
|
|||
.irq_enable = 1,
|
||||
.poll_delay_ms = 30,
|
||||
.init_platform_hw = mma8452_init_platform_hw,
|
||||
.orientation = {1, 0, 0, 0, 0, -1, 0, -1, 0},
|
||||
.orientation = {1, 0, 0, 0, -1, 0, 0, 0, -1},
|
||||
};
|
||||
#endif
|
||||
#if defined (CONFIG_GS_LIS3DH)
|
||||
|
|
@ -415,7 +415,7 @@ static struct sensor_platform_data lis3dh_info = {
|
|||
.irq_enable = 1,
|
||||
.poll_delay_ms = 30,
|
||||
.init_platform_hw = lis3dh_init_platform_hw,
|
||||
.orientation = {1, 0, 0, 0, 0, -1, 0, -1, 0},
|
||||
.orientation = {1, 0, 0, 0, -1, 0, 0, 0, -1},
|
||||
};
|
||||
#endif
|
||||
#if defined(CONFIG_CHARGER_CW2015)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user