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

Fix: get rid of "can_reset" and "can_mode". #15

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Fix: get rid of "can_reset" and "can_mode". #15

merged 1 commit into from
Oct 3, 2023

Conversation

aentinger
Copy link
Contributor

Both aren't actually very useful, i.e. can_mode is only called by can_reset. And can_reset is only called when pushing frames to the TX FIFO fails. In this case its adequately pushed back to the linux firmware driver who then may - or may not - trigger a complete reinitialsation. At any rate, the device firmware driver should be as dumb as possible.

Both aren't actually very useful, i.e. can_mode is only called by can_reset. And can_reset is only called when pushing frames
to the TX FIFO fails. In this case its adequately pushed back to the linux firmware driver who then may - or may not - trigger
a complete reinitialsation. At any rate, the device firmware driver should be as dumb as possible.
@aentinger aentinger self-assigned this Oct 3, 2023
@aentinger aentinger merged commit 3822add into master Oct 3, 2023
1 check passed
@aentinger aentinger deleted the cleanup branch October 3, 2023 08:34
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.

1 participant