Skip to content
Snippets Groups Projects
Commit 3dcdc500 authored by Stefan Richter's avatar Stefan Richter
Browse files

firewire: ohci: access bus_seconds atomically


In the unlikely event that card->driver->get_bus_time() is called during
a cycle64Seconds interrupt, we could read garbage unless atomic accesses
are used.

The switch to atomic ops requires to change the 64 seconds counter from
unsigned to signed, but this shouldn't matter to the end result.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent e41f8d70
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment