incubator-nuttx/drivers
yintao 38af7001b6 drivers/rpmsg: fix the race condtion about rpmsg_device_created
xxx_rpmsg_device_created may be called repeatedly.

rptun thread				app thread

rptun_dev_start				xxx_rpmsg_init

...					rpmsg_register_callback
priv->...= rpmsg_ns_unbind;
priv->..= rptun_notify_wait;
					if (ns_unbind_cb)
(switch app thread)				device_created()
						xxx_rpmsg_device_created

					metal_list_add_tail(g_cb);
...
rpmsg_device_created();
	cb->device_created
	xxx_rpmsg_device_created;

Signed-off-by: yintao <yintao@xiaomi.com>
2024-09-14 17:34:52 +08:00
..
1wire nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
analog nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
audio drivers/audio: fix samp rate conversion issue 2024-08-27 22:00:39 +08:00
bch drivers/mtd/bch: fix size_t overflow when offset > 4GB 2024-09-09 01:23:02 +08:00
can nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
clk nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
contactless nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
coresight coresight: return -EEXIST when register a device which has been registered 2024-09-13 09:09:19 +08:00
crypto nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
devicetree nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
dma
dummy
eeprom nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
efuse nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
i2c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
i2s nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
input drivers/input: add dummy force feedback driver 2024-09-10 15:21:42 +08:00
ioexpander greenhills: fix the pointless comparison build warning 2024-08-27 07:33:09 -04:00
ipcc nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
lcd bits.h: replace all inline defination of __set_bit/__clear_bit 2024-09-13 09:09:19 +08:00
leds drivers/leds/ws2812: Fix WS2812 pixel size 2023-12-24 16:38:06 -08:00
loop enable O_CLOEXEC explicit 2023-09-22 13:51:00 +08:00
math math/mpi: add mpi driver in math 2023-10-17 13:43:43 +08:00
misc rpmsgblk: split multi_cmd only when it is too large to be placed into payload buffer 2024-09-13 09:26:35 +08:00
mmcsd mmcsd_sdio:Limit the use of sleep in mmcsd. 2024-09-06 12:25:55 +08:00
modem nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
motor Fix allocated memory test 2024-06-28 09:30:42 +02:00
mtd mtd:ramtron MB85RS256B address length is 2 2024-09-12 13:41:51 +08:00
net net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
note nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
pci rpmsg/rpmsg_virtio_ivshmem: add rpmsg virtio ivshmem support 2024-09-14 17:34:52 +08:00
pipes drivers/pipes: add fcntl(F_SETPIPE_SZ/F_GETPIPE_SZ) support 2024-09-10 11:35:15 +08:00
power nuttx/drivers:Modify errcode returned by relay_ioctl 2024-08-29 01:04:03 +08:00
rc nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
regmap drivers/regmap: add exit function interface. 2024-08-27 21:43:58 +08:00
reset added mutex lock before lookup reset controller by name 2023-08-11 20:39:16 +08:00
rf
rmt nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
rpmsg drivers/rpmsg: fix the race condtion about rpmsg_device_created 2024-09-14 17:34:52 +08:00
rptun rptun/rpmsg_virtio: fix addrenv/raddrenv num error 2024-09-14 17:34:52 +08:00
segger drivers/segger: upgrade to v3.54 2024-07-03 17:31:23 +08:00
sensors feat: add basic driver for amg88xx sensor 2024-09-07 12:03:38 +08:00
serial drivers/serial: fix deadlock when executing rexec in a user task 2024-09-14 10:27:40 +08:00
spi spi_slave: keep consistent with the parameter of the spi_slave_receive function declaration 2024-09-13 12:27:31 +08:00
syslog ramlog: workaround the unsafe critical section 2024-09-14 13:13:39 +08:00
timers clock: Replace all ts and tick conversion functions 2024-09-12 18:14:39 +08:00
usbdev driver/usbdev: support userspace to access ep0 2024-09-11 22:00:26 +08:00
usbhost nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usbmisc nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usbmonitor nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usrsock rpmsg: make all the rpmsg services deponds on RPMSG 2024-02-18 04:09:34 -08:00
video drivers/fb: add panbuffer clear ioctl 2024-09-13 09:15:38 +08:00
virtio virtio-blk: support called read/write in interrupt 2024-09-10 11:35:35 +08:00
wireless nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
.gitignore
CMakeLists.txt
Kconfig coresight: add coresight_core 2024-09-13 09:09:19 +08:00
Makefile coresight: add coresight_core 2024-09-13 09:09:19 +08:00
drivers_initialize.c pci add register drivers 2024-09-06 10:01:11 +08:00