aboutsummaryrefslogtreecommitdiff
path: root/sound/drivers/opl3
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/drivers/opl3
parent7d8e8292013ab72ae1f1500cbc91f198ccb1826d (diff)
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/drivers/opl3')
0 files changed, 0 insertions, 0 deletions