ALSA: pcm: localize snd_pcm_hw_params_choose()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 9 Jun 2017 12:46:48 +0000 (21:46 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 14:27:21 +0000 (16:27 +0200)
commit60f96aaecb19ca294addfff0d2d0335293f3c379
treeac0e4a3cb55e4aecab89dd6feb90f70dc82eb0f2
parent4e4b7eaa624d08433ab571920d50b6e14a70ab90
ALSA: pcm: localize snd_pcm_hw_params_choose()

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 <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c
sound/core/pcm_local.h
sound/core/pcm_native.c