-
Notifications
You must be signed in to change notification settings - Fork 317
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
channel: Correct linear x/y/z modifier names #1176
Conversation
I'm not sure where the `*-g` names came from, but the kernel calls them `linear_*`[1]. This fixes an error when using the Bosch BNO055, which is the only user of these modifiers. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/industrialio-core.c?id=83a7eefedc9b56fe7bfeff13b6c7356688ffa670#n147 Signed-off-by: Chris Spencer <spencercw@gmail.com>
According to : torvalds/linux@bcc57a4 - things have been broken for a couple years... Likely a missing part in https://github.com/analogdevicesinc/libiio/blob/main/CI/azure/check_kernel.sh which should be checking drivers/iio/industrialio-core.c as well... Then you would keep up to date... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing!
LGTM |
This would have found and avoided analogdevicesinc#1176 Signed-off-by: Robin Getz <rgetz@mathworks.com>
This would have found and avoided analogdevicesinc#1176 Signed-off-by: Robin Getz <rgetz@mathworks.com>
This would have found and avoided analogdevicesinc#1176 Signed-off-by: Robin Getz <rgetz@mathworks.com>
This would have found and avoided analogdevicesinc#1176 Signed-off-by: Robin Getz <rgetz@mathworks.com>
This would have found and avoided #1176 Signed-off-by: Robin Getz <rgetz@mathworks.com>
PR Description
I'm not sure where the
*-g
names came from, but the kernel calls themlinear_*
[1]. This fixes an error when using the Bosch BNO055, which is the only user of these modifiers.[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/industrialio-core.c?id=83a7eefedc9b56fe7bfeff13b6c7356688ffa670#n147
PR Type
PR Checklist