summaryrefslogtreecommitdiffstats
path: root/sound/spi
diff options
context:
space:
mode:
authorTakashi Iwai2017-08-30 15:39:32 +0200
committerTakashi Iwai2017-08-30 20:44:55 +0200
commit67616feda99e32cb676b0907284bbb6957e45480 (patch)
treef790394273fdc40a2a918e9855e51044d5dfdfa6 /sound/spi
parentALSA: Get rid of card power_lock (diff)
downloadkernel-qcow2-linux-67616feda99e32cb676b0907284bbb6957e45480.tar.gz
kernel-qcow2-linux-67616feda99e32cb676b0907284bbb6957e45480.tar.xz
kernel-qcow2-linux-67616feda99e32cb676b0907284bbb6957e45480.zip
ALSA: pcm: Unify ioctl functions for playback and capture streams
Some ioctl functions are implemented individually for both playback and capture streams although most of the codes are identical with just a few different stream-specific function calls. This patch unifies these places, removes the superfluous trivial check and flattens the call paths as a cleanup. Meanwhile, for better readability, some codes (e.g. xfer ioctls or forward/rewind ioctls) are factored out as functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/spi')
0 files changed, 0 insertions, 0 deletions