From: Ian Abbott Date: Tue, 4 Nov 2014 18:09:01 +0000 (+0000) Subject: staging: comedi: add ioctls to set per-file read and write subdevice X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~414 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c299a6789c35392dcd66f806013bab86969cf5c4;p=pandora-kernel.git staging: comedi: add ioctls to set per-file read and write subdevice Now that Comedi has the structures in place to support setting the current "read" and/or "write" subdevice on a per-file object basis, add new ioctls to set them. The newly chosen "read" ("write") subdevice needs to support "read" ("write") commands, and the file cannot be busy handling a "read" ("write") command on the previous subdevice (if any). Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed