alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] ALSA: pcm: check parameter on snd_pcm_running()
@ 2017-11-09  2:11 Kuninori Morimoto
  2017-11-09  2:11 ` [PATCH 1/6] " Kuninori Morimoto
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Kuninori Morimoto @ 2017-11-09  2:11 UTC (permalink / raw)
  To: Mark Brown, Takashi Iwai; +Cc: Linux-ALSA, Simon


Hi Takashi-san, Mark

snd_pcm_running() is using "substream" and "substream->runtime"
pointer, no check.
These patches adds its check in function,
and removes duplicate checks from each drivers.

Not super important, but can be cleanup

Kuninori Morimoto (6):
  ALSA: pcm: check parameter on snd_pcm_running()
  ALSA: pdaudiocf: remove unneeded check for snd_pcm_running()
  ASoC: dwc: remove unneeded check for snd_pcm_running()
  ASoC: omap-hdmi-audio: remove unneeded check for snd_pcm_running()
  ASoC: xtfpga-i2s: remove unneeded check for snd_pcm_running()
  ASoC: rsnd: remove unneeded check for snd_pcm_running()

 include/sound/pcm.h                    | 3 +++
 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c | 2 +-
 sound/soc/dwc/dwc-pcm.c                | 2 +-
 sound/soc/omap/omap-hdmi-audio.c       | 3 +--
 sound/soc/sh/rcar/core.c               | 5 +----
 sound/soc/xtensa/xtfpga-i2s.c          | 4 ++--
 6 files changed, 9 insertions(+), 10 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-11-28  6:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09  2:11 [PATCH 0/6] ALSA: pcm: check parameter on snd_pcm_running() Kuninori Morimoto
2017-11-09  2:11 ` [PATCH 1/6] " Kuninori Morimoto
2017-11-09  2:12 ` [PATCH 2/6] ALSA: pdaudiocf: remove unneeded check for snd_pcm_running() Kuninori Morimoto
2017-11-09  2:12 ` [PATCH 3/6] ASoC: dwc: " Kuninori Morimoto
2017-11-09  2:12 ` [PATCH 4/6] ASoC: omap-hdmi-audio: " Kuninori Morimoto
2017-11-09  2:14 ` [PATCH 5/6] ASoC: xtfpga-i2s: " Kuninori Morimoto
2017-11-09  2:15 ` [PATCH 6/6] ASoC: rsnd: " Kuninori Morimoto
2017-11-09  2:40 ` [PATCH 0/6] ALSA: pcm: check parameter on snd_pcm_running() Takashi Sakamoto
2017-11-09  7:41   ` Takashi Iwai
2017-11-28  6:33     ` Kuninori Morimoto
2017-11-28  6:42       ` Takashi Iwai
2017-11-28  6:53         ` Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).