diff options
author | Mark Brown <broonie@kernel.org> | 2023-08-18 22:46:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-18 22:46:19 +0100 |
commit | ab4724302feedcd33633fd409667a8ee0016f13d (patch) | |
tree | 245c7082ca66780da02df0b7cedc91a5090b795f /net/unix/af_unix.c | |
parent | 46f53bde6e69edf8a2e0943babb3f160b30ee436 (diff) | |
parent | ef75e767167a8f30c7690bc4689dba76329ee06e (diff) |
Add cs42l43 PC focused SoundWire CODEC
Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:
This patch chain adds support for the Cirrus Logic cs42l43 PC focused
SoundWire CODEC.
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 78585217f61a..86930a8ed012 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -790,7 +790,7 @@ static int unix_set_peek_off(struct sock *sk, int val) if (mutex_lock_interruptible(&u->iolock)) return -EINTR; - sk->sk_peek_off = val; + WRITE_ONCE(sk->sk_peek_off, val); mutex_unlock(&u->iolock); return 0; |