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

mcp25xxfd: crash/bug when stopping/starting the can interface #7

Open
irrwisch1 opened this issue Jun 27, 2019 · 0 comments
Open

mcp25xxfd: crash/bug when stopping/starting the can interface #7

irrwisch1 opened this issue Jun 27, 2019 · 0 comments

Comments

@irrwisch1
Copy link

Hi,

I was having two issues when stoping/starting the can interface.

The first issue was that sometimes an interrupt came when the interface was already stopped, producing a kernel panic

The second issue was that the driver was sometimes getting confused with the TEF fifo after restarting, presumably because some structures weren't cleared when the interface was stopped.

I made the following changes (see the attached diff) and those seem to fix these issues for me, but you may want to review those changes.

mcp25xxfd_crash.txt

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

No branches or pull requests

1 participant