diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-09-28 08:00:47 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-18 09:19:42 (GMT) |
commit | 7e15de3a73899903f33975b1ce57cf59c616d1d9 (patch) | |
tree | 3a6d88c72a3b5225c16d233797cce8ae2fd44c86 /ipc/compat.c | |
parent | f3a3ed3115d39463dc6672454bfbeaff46811a37 (diff) | |
download | linux-7e15de3a73899903f33975b1ce57cf59c616d1d9.tar.xz |
can: mcp251x: read-modify-write eflag only when needed
Use read-modify-write instead of a simple write to change the register
contents, to close existing the race window between the original manual
read and write.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions