nuttx/drivers/power
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
..
battery_charger.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
battery_gauge.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
bq2425x.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
bq2425x.h Battery Charger: Add BQ24250 driver 2015-09-20 09:47:00 -06:00
bq2429x.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
Kconfig power: add driver for TI bq2429x battery charger. TODO: Untested. Does not have poll() support. 2017-08-25 07:26:00 -06:00
Make.defs Merged in raiden00/nuttx (pull request #480) 2017-09-10 17:43:20 +00:00
max1704x.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
pm_activity.c PM: Some cosmetic updates 2016-03-27 13:37:28 -06:00
pm_changestate.c PM: Some cosmetic updates 2016-03-27 13:37:28 -06:00
pm_checkstate.c PM: Some cosmetic updates 2016-03-27 13:37:28 -06:00
pm_initialize.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
pm_register.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
pm_update.c PM: Fix a compile error in a DEBUGASSERTion when DEBUG is enabled 2016-03-27 18:17:37 -06:00
pm.h Squashed commit of the following: 2017-10-04 15:22:27 -06:00
powerled.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
smps.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00