-
Notifications
You must be signed in to change notification settings - Fork 1.5k
drivers/sensors: sensor bug fix - part 1 #17824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -444,27 +444,18 @@ | |
|
|
||
| #define SNIOC_GET_INFO _SNIOC(0x009B) | ||
|
|
||
| #ifdef CONFIG_USENSOR | ||
| /* Command: SNIOC_SET_INFO | ||
| * Description: Set device information. Only used by user space. | ||
| * Argument: This is the device info pointer. | ||
| */ | ||
|
|
||
| # define SNIOC_SET_INFO _SNIOC(0x009C) | ||
| #endif | ||
|
|
||
|
Comment on lines
-447
to
-455
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this considered a breaking change?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this ioctl is normally used with Android sensor HAL to report the additional sensor info required by Android, since both side is modified, the impact is minimal. |
||
| /* Command: SNIOC_FLUSH | ||
| * Description: Flush sensor hardware fifo buffer. | ||
| */ | ||
|
|
||
| #define SNIOC_FLUSH _SNIOC(0x009D) | ||
| #define SNIOC_FLUSH _SNIOC(0x009C) | ||
|
|
||
| /* Command: SNIOC_GET_EVENTS | ||
| * Description: Get events of the sensor device. | ||
| * Argument: The events pointer, (unsigned int *) | ||
| */ | ||
|
|
||
| #define SNIOC_GET_EVENTS _SNIOC(0x009E) | ||
| #define SNIOC_GET_EVENTS _SNIOC(0x009D) | ||
|
|
||
| /* Command: SNIOC_SET_THERMO | ||
| * Description: Set the thermocouple type. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.