Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: remove snd_soc_pcm_subclass

enum snd_soc_pcm_subclass has added at v3.1 commit b8c0dab9bf337 ("ASoC:
core - PCM mutex per rtd"), but has never been used during this 15 years.
Let's remove it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/878qcfyogw.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
2974aa42 f168e849

+1 -7
+1 -7
include/sound/soc.h
··· 422 422 #include <sound/soc-dpcm.h> 423 423 #include <sound/soc-topology.h> 424 424 425 - enum snd_soc_pcm_subclass { 426 - SND_SOC_PCM_CLASS_PCM = 0, 427 - SND_SOC_PCM_CLASS_BE = 1, 428 - }; 429 - 430 425 int snd_soc_register_card(struct snd_soc_card *card); 431 426 void snd_soc_unregister_card(struct snd_soc_card *card); 432 427 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card); ··· 994 999 995 1000 /* Mutex for PCM operations */ 996 1001 struct mutex pcm_mutex; 997 - enum snd_soc_pcm_subclass pcm_subclass; 998 1002 999 1003 int (*probe)(struct snd_soc_card *card); 1000 1004 int (*late_probe)(struct snd_soc_card *card); ··· 1513 1519 */ 1514 1520 static inline void _snd_soc_dpcm_mutex_lock_c(struct snd_soc_card *card) 1515 1521 { 1516 - mutex_lock_nested(&card->pcm_mutex, card->pcm_subclass); 1522 + mutex_lock(&card->pcm_mutex); 1517 1523 } 1518 1524 1519 1525 static inline void _snd_soc_dpcm_mutex_unlock_c(struct snd_soc_card *card)