Skip to content
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

can: fix RTR ioctl and support timeout #2664

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

MTres19
Copy link
Contributor

@MTres19 MTres19 commented Jan 10, 2021

Summary

The RTR ioctl was not really usable (and few (any?) drivers implemented it. However, it's potentially useful and doesn't require a lot of work to support.

Impact

No changes needed to existing drivers. If drivers would like to support this ioctl, they should support/enable CONFIG_CAN_USE_RTR and set co_remoterequest to NULL.

Testing

Tested with TM4C123G Launchpad. Test application.

drivers/can/can.c Outdated Show resolved Hide resolved
Copy link
Contributor

@xiaoxiang781216 xiaoxiang781216 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@xiaoxiang781216 xiaoxiang781216 merged commit 301ba3a into apache:master Jan 12, 2021
@MTres19 MTres19 deleted the MTres19/fix-can-rtr-ioctl branch January 4, 2022 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants