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)
commitc48f12ee0acbd431d6c3ed249f79a6d68b757058
tree516db256cc75f1d745f906edcacdd32a25a0d122
parentbdc4acf7f6eb14a64c549c04c741b18e3afb350e
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