diff options
| author | Mark Brown <broonie@kernel.org> | 2024-01-31 13:17:06 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-01-31 13:17:06 +0000 |
| commit | b25c4e5684cd4e5a3528485918e34f04a4bea3e5 (patch) | |
| tree | d90c34ef9bdd7b21ada3ac9a6fb027ba9715e7f2 /include/linux/skmsg.h | |
| parent | 9a6d7c4fb2801b675a9c31a7ceb78c84b8c439bc (diff) | |
| parent | 260b08aed4a770335ece16781d8023e9ff488ae0 (diff) | |
| download | lwn-b25c4e5684cd4e5a3528485918e34f04a4bea3e5.tar.gz lwn-b25c4e5684cd4e5a3528485918e34f04a4bea3e5.zip | |
soundwire/SOF: add SoundWire Interface support for
Merge series from Vijendar Mukunda <Vijendar.Mukunda@amd.com>:
This patch series is to redesign existing platform device creation logic
for SoundWire managers and Implement generic functions for SoundWire
manager probe, start and exit sequence which are common for both Legacy
(NO DSP enabled) and SOF stack, and add SoundWire Interface support for
AMD SOF stack (ACP 6.3 based platform).
The patch series was reviewed in
https://github.com/thesofproject/linux/pull/4699
Diffstat (limited to 'include/linux/skmsg.h')
| -rw-r--r-- | include/linux/skmsg.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/skmsg.h b/include/linux/skmsg.h index 888a4b217829..e65ec3fd2799 100644 --- a/include/linux/skmsg.h +++ b/include/linux/skmsg.h @@ -505,12 +505,6 @@ static inline bool sk_psock_strp_enabled(struct sk_psock *psock) return !!psock->saved_data_ready; } -static inline bool sk_is_udp(const struct sock *sk) -{ - return sk->sk_type == SOCK_DGRAM && - sk->sk_protocol == IPPROTO_UDP; -} - #if IS_ENABLED(CONFIG_NET_SOCK_MSG) #define BPF_F_STRPARSER (1UL << 1) |
