mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
rk3066 : fix board-rk30-ds975.c board-rk30-sdk.c for sensor
This commit is contained in:
@@ -1038,7 +1038,7 @@ static struct sensor_platform_data mma8452_info = {
|
||||
.irq_enable = 1,
|
||||
.poll_delay_ms = 30,
|
||||
.init_platform_hw = mma8452_init_platform_hw,
|
||||
.orientation = {0, -1, 0, 0, 0, -1, -1, 0, 0},
|
||||
.orientation = {0, -1, 0, -1, 0, 0, 0, 0, -1},
|
||||
};
|
||||
#endif
|
||||
#if defined (CONFIG_GS_LIS3DH)
|
||||
@@ -1056,7 +1056,7 @@ static struct sensor_platform_data lis3dh_info = {
|
||||
.irq_enable = 1,
|
||||
.poll_delay_ms = 30,
|
||||
.init_platform_hw = lis3dh_init_platform_hw,
|
||||
.orientation = {0, -1, 0, 0, 0, -1, -1, 0, 0},
|
||||
.orientation = {0, -1, 0, -1, 0, 0, 0, 0, -1},
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -488,7 +488,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)
|
||||
@@ -506,7 +506,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_GS_KXTIK)
|
||||
|
||||
Reference in New Issue
Block a user