mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
K97:alter orientation of gsensor
This commit is contained in:
@@ -1020,8 +1020,8 @@ static int mma8452_init_platform_hw(void)
|
||||
static struct mma8452_platform_data mma8452_info = {
|
||||
.model= 8452,
|
||||
.swap_xyz= 1,
|
||||
.swap_xy=1,
|
||||
.orientation ={-1,0,0,0,1,0,0,0,-1},
|
||||
.swap_xy=0,
|
||||
.orientation ={1,0,0,0,0,1,0,-1,0},
|
||||
.init_platform_hw= mma8452_init_platform_hw,
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user