nuttx/drivers/analog
dongjiuzhu d452a05910 pollnotify: we should send poll events before semaphore incrementes.
There is a good case on sim platform:
When we input some cmd and click enter key to start application in terminal,
this context will change to application from IDLE loop. Althrough entey key '\r'
has been received to recv buffer and complete post semaphore of reader, but
pollnotify may not be called because context change. So when application run
poll function, because no events happend and poll enter wait, context will
again change to IDLE loop, this pollnotify of IDLE loop will run to send poll
events, poll function of applicaton will wake up. It's wrong!

Change-Id: I812a889f2e90781a9c3cb4b0251cccc4d32bebd1
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-26 08:27:09 -03:00
..
ad5410.c drivers/analog: fix nxstyle warnings 2020-03-10 07:20:38 -06:00
adc.c pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
ads1242.c drivers/analog: fix nxstyle warnings 2020-03-10 07:20:38 -06:00
ads1255.c drivers/analog: fix nxstyle warnings 2020-03-10 07:20:38 -06:00
ads7828.c Run codespell -w against all files 2020-02-22 14:45:07 -06:00
comp.c drivers/analog/ and include/nuttx/analog: Fix typos and nxstyle issues. 2020-06-12 16:04:02 -03:00
dac7554.c Fix build errors when using DEBUGASSERT 2020-09-18 07:03:09 -07:00
dac7571.c drivers/analog: fix nxstyle warnings 2020-03-10 07:20:38 -06:00
dac.c drivers/: Fix some drivers mode priviliges. It's not used but it's 2020-06-12 17:51:23 -03:00
Kconfig drivers/analog: Adds driver for the ADS7828 I2C analog to digital converter 2020-02-18 14:19:40 -06:00
lmp92001.c gpio: extend gpio_pintype_e for pulldown/up and opendrain 2020-07-07 08:34:25 -05:00
ltc1867l.c drivers/analog: fix nxstyle warnings 2020-03-10 07:20:38 -06:00
Make.defs build: Move INCDIROPT to common place 2020-05-18 15:02:55 -06:00
opamp.c drivers: Changed headers for apache 2.0 license 2020-10-10 12:24:28 -06:00
pga11x.c drivers/analog: fix nxstyle warnings 2020-03-10 07:20:38 -06:00