diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-02-17 17:28:19 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-18 23:37:06 +0000 |
commit | 3193abd26b515ccac65e1c323533cb7f53d06176 (patch) | |
tree | bfd96baf12c64b722ae11bc8fc507edce2a2cf13 /sound | |
parent | 0f6011fd79a2fb92cb80177fd6bdc8aac3a3cd93 (diff) | |
download | lwn-3193abd26b515ccac65e1c323533cb7f53d06176.tar.gz lwn-3193abd26b515ccac65e1c323533cb7f53d06176.zip |
ALSA: pcm.h: add for_each_pcm_streams()
ALSA code has SNDRV_PCM_STREAM_PLAYBACK/CAPTURE everywhere.
Having for_each_xxxx macro is useful.
This patch adds for_each_pcm_streams() for it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/874kvpbotq.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions