incubator-nuttx/drivers/usbhost
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
..
Kconfig Added USB MSC state change notifier in notifier work queue. 2020-08-09 11:54:04 -06:00
Make.defs Add support to CDC-MBIM USB host driver 2020-06-15 07:13:21 -06:00
hid_parser.c drivers/usbhost/hid_parser.c: nxstyle fixes 2020-08-03 22:52:31 -05:00
usbhost_cdcacm.c global change: fix tools/checkpatch.sh warnnings 2020-04-09 10:29:28 -06:00
usbhost_cdcmbim.c sched/wdog: Remove MAX_WDOGPARMS and related stuff 2020-08-14 08:19:50 -06:00
usbhost_composite.c Correct more improper use of malloc(), zalloc(), and free() 2020-08-04 20:41:43 +01:00
usbhost_composite.h Fix some typographical errors. 2018-09-14 06:55:45 -06:00
usbhost_devaddr.c Check return from nxsem_wait_initialize() 2020-03-30 21:53:12 +01:00
usbhost_enumerate.c Run codespell -w against all files 2020-02-22 14:45:07 -06:00
usbhost_findclass.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
usbhost_ft232r.c drivers/usbhost/usbhost_ft232r.c: Cosmetic 2020-05-28 21:17:58 +01:00
usbhost_hidkbd.c pollnotify: we should send poll events before semaphore incrementes. 2020-10-26 08:27:09 -03:00
usbhost_hidmouse.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
usbhost_hub.c Added another usbid with proto = 1 (HighSpeed Hub). Nxstyle fixes. 2020-08-09 16:12:18 -03:00
usbhost_max3421e.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
usbhost_registerclass.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
usbhost_registry.c USB host drivers: Change all parmeters named class to usbclass to avoid C++ conflicts 2015-01-11 08:05:09 -06:00
usbhost_registry.h Make some file section headers more consistent with standard 2015-04-08 07:15:32 -06:00
usbhost_skeleton.c Check return from nxsem_wait_initialize() 2020-03-30 21:53:12 +01:00
usbhost_storage.c usbhost_storage.c: Fixed Bug in usbhost_freedevno(...), worked only for 'a'. 2020-08-09 11:54:04 -06:00
usbhost_trace.c Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
usbhost_xboxcontroller.c Char drivers should return -ENOTTY if CMD is not recognized 2020-06-06 14:51:02 -03:00