summaryrefslogtreecommitdiffstats
path: root/kernel/sched/stats.h
diff options
context:
space:
mode:
authorTakashi Sakamoto2017-08-03 13:20:44 +0200
committerTakashi Iwai2017-08-04 16:50:56 +0200
commit6d4d41f011454240e6890068c41e7530fba9f387 (patch)
tree3c9e71a0234a2cd955156dff8e03237040f50d3c /kernel/sched/stats.h
parentALSA: control: code refactoring TLV ioctl handler (diff)
downloadkernel-qcow2-linux-6d4d41f011454240e6890068c41e7530fba9f387.tar.gz
kernel-qcow2-linux-6d4d41f011454240e6890068c41e7530fba9f387.tar.xz
kernel-qcow2-linux-6d4d41f011454240e6890068c41e7530fba9f387.zip
ALSA: control: code refactoring for TLV request handler to user element set
User-defined element set registers own handler to get callbacks from TLV ioctl handler. In the handler, execution path bifurcates depending on requests from user space. At write request, container in given buffer is registered to the element set, or replaced old TLV data. At the read request, the registered data is copied to user space. The command request is not allowed. In current implementation, function of the handler includes codes for the two cases. This commit adds two helper functions for these cases so that readers can easily get the above design. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/sched/stats.h')
0 files changed, 0 insertions, 0 deletions