17 Jan, 2020
1 commit
-
Both snd_pcm_hw_constraints_init() and _complete() functions are
called only from pcm_native.c, hence they can be static for further
optimization.Link: https://lore.kernel.org/r/20200116162825.24792-1-tiwai@suse.de
Signed-off-by: Takashi Iwai
21 Nov, 2019
1 commit
-
It should be used only in the PCM core code locally.
Link: https://lore.kernel.org/r/20191117085308.23915-6-tiwai@suse.de
Signed-off-by: Takashi Iwai
10 Nov, 2019
1 commit
-
The helper is no longer referred after the recent code refactoring.
Drop the export for saving some bits and future misuse.Acked-by: Mark Brown
Link: https://lore.kernel.org/r/20191108094641.20086-9-tiwai@suse.de
Signed-off-by: Takashi Iwai
05 Jun, 2019
1 commit
-
Based on 1 normalized pattern(s):
licensed under the terms of the gnu general public license version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 88 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Alexios Zavras
Reviewed-by: Allison Randal
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190530000437.521539229@linutronix.de
Signed-off-by: Greg Kroah-Hartman
21 Jan, 2019
1 commit
-
There are multiple open codes that initialize the same object.
Create a common helper function instead.Also, use kzalloc() to be safer at creating a group object, and move
the initialization out of the critical section.Signed-off-by: Takashi Iwai
04 Jul, 2018
1 commit
-
The PCM xrun injection triggers directly snd_pcm_stop() without the
standard xrun handler, hence it's not recorded on the event buffer.
Ditto for snd_pcm_stop_xrun() call and SNDRV_PCM_IOCTL_XRUN ioctl.
They are inconvenient from the debugging POV.Let's make them to trigger XRUN via the standard helper more
consistently.Signed-off-by: Takashi Iwai
17 Apr, 2018
1 commit
-
Introduce two new direction-neutral helpers to calculate the avail and
hw_avail values, and clean up the code with them.The two separated forward and rewind functions are gathered to the
unified functions.No functional change but only code reductions.
Reviewed-by: Takashi Sakamoto
Signed-off-by: Takashi Iwai
12 Jun, 2017
1 commit
-
In a series of recent work, ALSA PCM core got some arrangements to handle
application-side position on PCM buffer. However, relevant codes still
disperse to two translation unitsThis commit unifies these codes into a helper function.
Signed-off-by: Takashi Sakamoto
Signed-off-by: Takashi Iwai
09 Jun, 2017
1 commit
-
As of v4.12, snd_pcm_hw_params_choose() is just called in a process
context of ioctl(2) with SNDRV_PCM_IOCTL_HW_PARAMS. The function locates
in a different file, which has no tracepoints.This commit moves the function to a file with the tracepoints for later
commit.Signed-off-by: Takashi Sakamoto
Signed-off-by: Takashi Iwai
26 May, 2017
1 commit
-
Several files are used to construct PCM core module, a.k.a snd-pcm.
Although available APIs are described in 'include/sound/pcm.h', some of
them are not exported as symbols in kernel space. Such APIs are just for
module local usage.This commit adds module local header file and move some function prototypes
into it so that scopes of them are controlled properly and developers
get no confusion from unavailable symbols.Signed-off-by: Takashi Sakamoto
Signed-off-by: Takashi Iwai