summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2017-08-03 20:20:43 +0900
committerTakashi Iwai <tiwai@suse.de>2017-08-04 16:50:56 +0200
commit450296f305f139ccb363657efcea439afa4e762a (patch)
tree588a6b7d4625b445d98221c9dd776a75ea9f2255 /sound/pci
parent30d8340b5857550007ab6fe9744e4384dfa6e55c (diff)
ALSA: control: code refactoring TLV ioctl handler
In a design of ALSA control core, execution path bifurcates depending on target element. When a set with the target element has a handler, it's called. Else, registered buffer is copied to user space. These two operations are apparently different. In current implementation, they're on the same function with a condition statement. This makes it a bit hard to understand conditions of each case. This commit splits codes for these two cases. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions