generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scmi: sensor axis extended attributes support
For Android requirment, virtio-scmi axis descriptor should support extended attributes. This patch does this things. We get axis's resolution during reading "scale" and store. When agent wants to get axis descriptions, device will add resolution value to extend attribute field. At the same time, max and min range also have been configured. Signed-off-by: Junnan Wu <[email protected]>
- Loading branch information
1 parent
d19a265
commit 53ded3f
Showing
4 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters