Skip to content

Commit

Permalink
vxge: serialize access to steering control register
Browse files Browse the repository at this point in the history
It is possible for multiple callers to access the firmware interface for
the same vpath simultaneously, resulting in uncertain output.  Add locks
to serialize access.  Also, make functions only accessed locally static,
thus requiring some movement of code blocks.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jon Mason authored and David S. Miller committed Nov 11, 2010
1 parent ddd6272 commit 8424e00
Show file tree
Hide file tree
Showing 2 changed files with 325 additions and 483 deletions.
Loading

0 comments on commit 8424e00

Please sign in to comment.