Hi Mark
Each ASoC framwark is using own snd_xxx_ret() function, but we can share
these. This patch-set adds new snd_soc_ret() and use it.
checkpatch indicates that ENOTSUPP is not a SUSV4 error code, prefer to
use EOPNOTSUPP. So this patch-set adds it, but not remove existing ENOTSUPP.
Link: https://lore.kernel.org/r/8734gvsg5i.wl-kuninori.morimoto.gx@xxxxxxxxxxx
v1 -> v2
- Based on my previous "v2 ASoC: simple-card-utils.c: add missing dlc->of_node"
- care EOPNOTSUPP
Kuninori Morimoto (7):
ASoC: add common snd_soc_ret() and use it
ASoC: soc-utils: care -EOPNOTSUPP on snd_soc_ret()
ASoC: soc-pcm: use snd_soc_ret()
ASoC: simple-card: use snd_soc_ret()
ASoC: simple-card-utils: use snd_soc_ret()
ASoC: audio-graph-card: use snd_soc_ret()
ASoC: audio-graph-card2: use snd_soc_ret()
include/sound/simple_card_utils.h | 8 +-
include/sound/soc.h | 1 +
sound/soc/generic/audio-graph-card.c | 97 ++++++++-------
sound/soc/generic/audio-graph-card2.c | 95 ++++++++------
sound/soc/generic/simple-card-utils.c | 170 +++++++++++++++-----------
sound/soc/generic/simple-card.c | 132 +++++++++++---------
sound/soc/soc-card.c | 14 +--
sound/soc/soc-component.c | 38 ++----
sound/soc/soc-dai.c | 18 +--
sound/soc/soc-link.c | 18 +--
sound/soc/soc-pcm.c | 114 +++++++----------
sound/soc/soc-utils.c | 27 ++++
12 files changed, 371 insertions(+), 361 deletions(-)
--
2.43.0
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]