comedilib/lib
Ian Abbott 8c31fb88c1 lib: don't change read or write subdevice unnecessarily
Change comedi_set_read_subdevice() and comedi_set_write_subdevice() to
do nothing if the requested subdevice is already set as the current read
or write subdevice, respectively.

The functions now return success even if the Comedi drivers do not
support changes to the read or write subdevice as long as the specified
subdevice is the default one.
2016-05-13 16:18:02 +01:00
..
buffer.c Added some more buffer position functions for use with mmap 2016-05-13 15:14:47 +01:00
calib.c #include <sys/stat.h> needed for fstat(). 2011-01-05 15:02:44 +00:00
calib_lex.l lib/calib_lex.l: Add #define YY_NO_INPUT to C pre-amble 2013-03-21 15:49:18 +00:00
calib_yacc.y lib/calib_yacc.y: fix segfault in comedi_parse_calibration_file() 2015-08-20 13:02:53 +01:00
cmd.c lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
comedi.c lib: don't change read or write subdevice unnecessarily 2016-05-13 16:18:02 +01:00
data.c lib/data.c: remove unused variables 2013-05-07 13:01:08 +01:00
dio.c Updated comedi_dio_config implementation to reflect logical split 2008-02-12 18:27:00 +00:00
error.c Put __comedi_errno variable into thread-local storage if the compiler 2009-02-18 14:10:54 +00:00
filler.c Fixed do_test_for_insn_bits(), broken by validity checks added to 2008-12-18 17:23:14 +00:00
get.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
insn_config_wrappers.c Add digital trigger configuration functions 2016-03-21 11:28:29 +00:00
ioctl.c Made comedi_ioctl take its third argument as a void* instead of 2008-02-12 01:12:46 +00:00
libinternal.h lib: replace YYPARSE_PARAM and YYLEX_PARAM 2014-01-07 14:24:36 +00:00
Makefile.am lib/Makefile.am: Add 'comedi_la_LIBADD = -lm' 2014-02-13 11:39:35 +00:00
range.c lib/range.c: deal with samples > maxdata when converting to phys 2015-08-24 17:33:11 +01:00
sv.c lib: check some malloc/calloc/realloc failures 2013-05-07 12:32:26 +01:00
timed.c trying to fix undefined symbol problems people are having 2003-05-18 00:26:59 +00:00
timer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
version_script Added some more buffer position functions for use with mmap 2016-05-13 15:14:47 +01:00