]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Call directly the common read/write helpers
authorTakashi Iwai <tiwai@suse.de>
Sun, 21 May 2017 07:35:21 +0000 (09:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jun 2017 17:38:21 +0000 (19:38 +0200)
commit1065b738301b1e219c182c2e52863d2ece65c2ff
tree516db256cc75f1d745f906edcacdd32a25a0d122
parentaa1b9fa3a15443e7855ca7695a8aad499661bcde
ALSA: pcm: Call directly the common read/write helpers

Make snd_pcm_lib_read() and *_write() static inline functions that
call the common helper functions directly.  This reduces a slight
amount of codes, and at the same time, it's a preparation for the
further cleanups / fixes.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_lib.c