summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-08-13 10:13:34 +0900
committerTakashi Iwai <tiwai@suse.de>2016-08-22 11:11:03 +0200
commit8ce8eb601c71d4eec4c83ac2398a2cb847f4ef4d (patch)
tree2d7897ca14af7eb173f7af9656166a30cfef2485 /sound/usb
parent77dfa8d3196a0cd219dfd6c65e4ff5a3e696fd8c (diff)
ALSA: seq: add an alternative way to handle ioctl requests
ALSA sequencer is designed with two types of clients; application and kernel. Operations for each ioctl command should handle data in both of user space and kernel space, while current implementation just allows them to handle data in user space. Data in kernel space is handled with change of address limit of running tasks. This commit adds a new table to map ioctl commands to corresponding functions. The functions get data in kernel space. Helper functions to operate kernel and application clients seek entries from the table. Especially, the helper function for application is responsible for coping from user space to kernel space or vise versa. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions