diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-17 23:07:29 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-17 23:07:29 +0200 |
commit | f5beb598b0c4dd023833ae1a7c188ecd987b7125 (patch) | |
tree | 06bada3fae446ba30e941ef6756eae3bf86d395e /block/blk-mq-sched.c | |
parent | 7fdc9b08071b6a3fc85bf90b79e13f6e973a7e5e (diff) | |
download | linux-f5beb598b0c4dd023833ae1a7c188ecd987b7125.tar.gz linux-f5beb598b0c4dd023833ae1a7c188ecd987b7125.tar.bz2 linux-f5beb598b0c4dd023833ae1a7c188ecd987b7125.zip |
ALSA: rawmidi: Minor code refactoring
Unify a few open codes with helper functions to improve the
readability. Minor behavior changes (rather fixes) are:
- runtime->drain clearance is done within lock
- active_sensing is updated before resizing buffer in
SNDRV_RAWMIDI_IOCTL_PARAMS ioctl.
Other than that, simply code cleanups.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions