From c299a6789c35392dcd66f806013bab86969cf5c4 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Tue, 4 Nov 2014 18:09:01 +0000 Subject: [PATCH] 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-format-patch failed