aboutsummaryrefslogtreecommitdiff
path: root/sound/usb/mixer_scarlett.c
diff options
context:
space:
mode:
authorGravatar Takashi Iwai <tiwai@suse.de> 2018-05-27 13:59:03 +0200
committerGravatar Takashi Iwai <tiwai@suse.de> 2018-05-28 11:53:04 +0200
commit6fddc797878181c9bb16dff1034ad9de2b25902d (patch)
treeecdf3e2ecdf8afc0712148baf9b24239c7baa733 /sound/usb/mixer_scarlett.c
parentALSA: aloop: Reduced duplicated PCM ops definition (diff)
downloadlinux-6fddc797878181c9bb16dff1034ad9de2b25902d.tar.gz
linux-6fddc797878181c9bb16dff1034ad9de2b25902d.tar.bz2
linux-6fddc797878181c9bb16dff1034ad9de2b25902d.zip
ALSA: usb-audio: Simplify PCM open/close callbacks
The stream direction in open and close callbacks can be retrieved from substream->direction, hence we don't have to stick with the unique PCM ops hard-coded for each direction. Rewrite the common open/close callback functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_scarlett.c')
0 files changed, 0 insertions, 0 deletions