OSDN Git Service

pcm: hw: Remove superfluous call of snd_pcm_set_appl_ptr()
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jun 2017 10:39:23 +0000 (12:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Jun 2017 13:34:14 +0000 (15:34 +0200)
commit987788dbfe65ae7811868654ba11c05b4582955f
tree723ad5d9fbababc924a6f46deb9f500a221d55c6
parent8beab3eb8a4346f823cb42c507122f0abbf9025f
pcm: hw: Remove superfluous call of snd_pcm_set_appl_ptr()

There is a call of snd_pcm_set_appl_ptr() in snd_pcm_hw_hw_params()
only for the capture direction.  This must be a leftover from the
ancient code.  Although it's harmless for now, it's superfluous and
confusing.  Let's kill it.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_hw.c