nuttx/drivers/ioexpander
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
gpio_lower_half.c drivers/: Remove dangling space at the end of lines. 2017-06-28 13:17:17 -06:00
gpio.c drivers/ioexpander: Add some debug output. 2016-11-08 07:46:25 -06:00
Kconfig SIM: Add a simulated I/O Expander driver 2016-08-03 09:44:48 -06:00
Make.defs Add PCF8574 I/O Expander driver. Some cleanup also of other expander drivers. 2016-08-01 11:10:11 -06:00
pca9555.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
pca9555.h Add PCF8574 I/O Expander driver. Some cleanup also of other expander drivers. 2016-08-01 11:10:11 -06:00
pcf8574.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
pcf8574.h Ooops.. forgot to add files before last commit 2016-08-01 11:15:29 -06:00
skeleton.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
tca64xx.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
tca64xx.h Remove another lingering kruft 2016-08-01 10:01:28 -06:00