SPRESENSE
bea6d3a7ef
drivers/video: Fix bug that is_available() is false
...
is_available() may be false because chip id register does not
have unique value.
So, judge availability not by chip id but by i2c accessibility.
2022-05-30 20:38:47 +03:00
SPRESENSE
b296494fb8
drivers/video: Avoid additional overflow cases
...
Add clip size validation to avoid additional overflow.
2022-05-30 20:38:47 +03:00
SPRESENSE
1212d3b7d8
drivers/video: Fix multiplication overflow
...
Add cast to uint32_t type to avoid multiplication overflow.
2022-05-30 20:38:47 +03:00
SPRESENSE
c0ea6c5b49
drivers/video: Fix thumbnail size bug
...
Fix copy size to set thumbnail component, when thumbnail format is used
without clipping.
2022-05-30 20:38:47 +03:00
SPRESENSE
9c57850466
drivers/video: Support clip
...
Support clip by ioctl(VIDIOC_S_SELECTION) and ioctl(VIDIOC_G_SELECTION).
2022-05-30 20:38:47 +03:00
SPRESENSE
b45489753a
drivers/video: Enable to select connected image sensor driver at runtime
...
Enable to select connected image sensor driver at runtime by adding is_available()
to image sensor I/F.
2022-05-30 20:38:47 +03:00
SPRESENSE
a25ac08774
boards: cxd56xx: Change pin initialization timing for camera
...
Change pin initialization timing for camera from board power on to camera device
power on for the following purposes.
- avoid unnecessary power consumption
- Make the corresponding pins available for other uses when camera is not in use
2022-05-30 20:38:47 +03:00
SPRESENSE
229c7d30b6
drivers/video: Support ioctl(VIDIOC_QUERYCAP)
...
Support ioctl(VIDIOC_QUERYCAP) to get driver's name.
2022-05-30 20:38:47 +03:00
anjiahao
b88a8cf39f
use rmutex inside of all repeated implementation
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-05-30 19:43:48 +08:00
Xiang Xiao
7ec6b4c7dd
Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE
...
since the code could map the unsupported work to the
supported one and remove select SCHED_WORKQUEUE from
Kconfig since SCHED_[L|H]PWORK already do the selection
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-28 18:41:51 +03:00
klmchp
d9e95a8f9b
fix devname array size
...
Fix drivers/mtd/smart.c devname overflow issue.
2022-05-26 10:00:14 -03:00
Cis van Mierlo
12469dd15e
SSD1306: Added option to force reconfigure display after power off
2022-05-24 23:25:24 +08:00
Xiang Xiao
5b0b4bd586
sched/wdog: Change the return type of wd_gettime from int to sclock_t
...
to handle 64bits sclock_t correctly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-19 23:21:54 +03:00
Xiang Xiao
6642741612
timers/watchdog: Ensure it's the idle domain before keepalive
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-17 22:57:52 +03:00
gaojiawei
335fc3dde2
syslog: Fixed a potential buffer overflow issue
...
The `CONFIG_SYSLOG_MAX_CHANNELS` is user-specified, however, if the user
defines more channels than what `CONFIG_SYSLOG_MAX_CHANNELS` was defined as,
a potential buffer overflow occurred. Although the compiler does warn us about
that, we should explicitly tell the user this is an error.
Signed-off-by: gaojiawei <gaojiawei@xiaomi.com>
2022-05-18 01:36:16 +08:00
Xiang Xiao
1fb8c13e5e
Replace nxsem_timedwait_uninterruptible with nxsem_tickwait_uninterruptible
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 13:55:58 +03:00
Xiang Xiao
816ce73ab4
Replace nxsem_timedwait with nxsem_tickwait
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 13:55:58 +03:00
Xiang Xiao
22e4f1c59a
sched: Remove start from nxsem_tickwait[_uninterruptible]
...
to simplify both caller and callee
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-15 13:55:58 +03:00
Petro Karashchenko
0fee5a2b84
nuttx: fix typos in comments
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-05-14 23:45:52 +08:00
Xiang Xiao
9072eecc30
sched/wqueue: Change the return type of work_notifier_teardown to void
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-14 00:35:29 +03:00
Xiang Xiao
323d8d9547
mmcsd: Add FAR to the pointer argument
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-13 15:41:27 +03:00
Xiang Xiao
679bc88cab
drivers/sdio: Call SDIO_LOCK before and after the transaction
...
follow the same behaviour in drivers/mmcsd/mmcsd_sdio.c
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-13 15:41:27 +03:00
Cis van Mierlo
e2b0d7ef6e
LCD: Added existing FBIO_SETPOWER support to lcd_framebuffer.c
2022-05-09 21:16:53 +08:00
Cis van Mierlo
a71f11d480
LCD SSD1306: Added custom configuration option
2022-05-09 21:16:22 +08:00
okayserh
2696aee11d
Fixed the bug that prevented the code from working in uninitialized
...
state (wrong I2C write size). Some improvements of the code.
2022-05-09 10:34:29 +08:00
okayserh
476770e9fd
Added functionality for Audio support with the STM32F746 Discoboard
...
In particular additions to wm8994.h and filled functionality into
wm8994.c.
Resolved a few more remarks from review.
2022-05-07 11:52:51 -03:00
Xiang Xiao
346c3a1e83
drivers/sensors: Fix incompatible pointer type for bool
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-05 16:23:32 -03:00
Xiang Xiao
0b84e07467
sensors/ak09912: Fix the style problem
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-03 16:50:52 +03:00
Takayoshi Koizumi
afc09fb442
drivers/audio/cxd56: Workaround for HW issue of CXD56
...
Because of HW issue, Audio output volume is limited until -30db as maximum.
This commit fix it. And fix the bug of voulme control.
2022-04-28 08:12:47 +09:00
Lingao Meng
daccde3605
drivers: mtd: fix null buffer reference
...
When device not support byte read or readlen less than
device block size, will use `dev->buffer` as dst address.
`CFGDIOC_FIRSTCONFIG` and `CFGDIOC_NEXTCONFIG` should also
malloc buffer before call `mtdconfig_readbytes`.
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2022-04-27 23:38:40 +08:00
Jiuzhu Dong
54b770d46a
driver/ioexpander: remove response about irq_handler
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-04-27 17:27:24 +08:00
Xiang Xiao
5a565e753c
pm: Move pm_initialize call from driver_initialize to xxx_pminitialize
...
since it's too late with the below commit:
ommit a594a5d7a8
Author: chao.an <anchao@xiaomi.com>
Date: Mon Apr 11 19:44:26 2022 +0800
sched/init: drivers_initialize() should be late than up_initialize()
up_initialize
|
->up_serialinit
|
->uart_register /* ("/dev/console", &CONSOLE_DEV); */
drivers_initialize
|
->syslog_console_init
|
->register_driver /* ("/dev/console", &g_consoleops, 0666, NULL); */
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-22 14:36:27 +03:00
Xiang Xiao
c29a3b7bd8
pipe: Increase buffer size by one byte to ompensate the full indicator
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-21 12:45:30 +03:00
Alin Jerpelea
2a44c99837
drivers: sensors: mlx90614: migrate the license to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-20 21:05:45 +08:00
Alin Jerpelea
bf087fee5d
drivers: mtd: gd5f: migrate the license to Apache
...
Xiaomi has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-20 21:05:45 +08:00
Alin Jerpelea
e84cf86ecb
LICENSE: document missing mtd files
...
add missing files to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-20 21:05:45 +08:00
Alin Jerpelea
2e9d6081ce
drivers: leds: ncp5623c: migrate the license to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-20 21:05:45 +08:00
Xiang Xiao
ef1a98dd00
Remove the unneeded void cast
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-17 23:32:05 +03:00
Xiang Xiao
32ee2ae407
Remove the unneeded worker_t cast
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-17 23:32:05 +03:00
Petro Karashchenko
09b3fb25ab
drivers: remove unimplemented open/close/ioctl interfaces
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-04-15 16:56:25 +08:00
Xiang Xiao
bb1e81eb95
driver/mmcsdio: do not hold the semaphore in idle thread too
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-14 17:12:10 +03:00
chao.an
062010c660
driver/mmcsdio: do not hold the semaphore on interrupt context
...
so we can do the full dump to mmc/sd card in the panic case
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-14 17:12:10 +03:00
Xiang Xiao
4b9c74514d
drivers/power: Remove activity_governor.h and greedy_governor.h
...
since they aren't really used anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-13 15:38:46 +03:00
zhuyanlin
5cc4f22b43
power/governor: Remove the duplicated function prototype
...
since they are declared include/nuttx/power/pm.h by:
commit 5ce181e6b7
Author: zhuyanlin <zhuyanlin1@xiaomi.com>
Date: Mon Feb 14 15:32:40 2022 +0800
power:govorner: add govorner to per domain.
For mult domains scene,,
activity and greety can be used at same time.
Let user to select domain governor.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
and add static const to g_pmgovernor
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-04-13 15:38:46 +03:00
Petro Karashchenko
ea5ffac7d1
drivers/syslog: update description if Kconfig
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-04-11 23:36:39 +08:00
SPRESENSE
9cd53d714e
drivers/sensors/sgp30: Fix redundant parameter check
...
Fix redundant conditions.
2022-04-11 13:29:35 +03:00
SPRESENSE
3787a362bf
drivers/sensors/scd30: Fix invalid parameter check
...
Fix invalid parameter check and redundant conditions.
2022-04-11 13:29:35 +03:00
SPRESENSE
bf332cf888
drivers/sensors: Add new driver for scd41 sensor module
...
Add Sensirion's SCD41 CO2, temperature and humidity sensor driver.
2022-04-11 13:29:35 +03:00
okayserh
218cbb470a
Fixed source code format errors.
2022-04-10 19:12:10 -03:00
okayserh
56f0d72465
Minor fix, function name was wm8994_setvolume instead of
...
wm8904_setvolume.
2022-04-10 19:12:10 -03:00
okayserh
eb3e8175de
Fixes some issues with the implementation of the balance
...
functionality. In function "wm8904_hw_reset" the priv->balance
is initialized with b16HALF, indicating a range from
0 to b16ONE. In function "wm8904_setvolume" the assumed
range for priv->balance is between 0 and 1000. The changes
now make this consistent for 0 to b16ONE-1. Furthermore,
in wm8904_configure the change of balance was not implemented.
2022-04-10 19:12:10 -03:00
chao.an
ba5320c36f
fs/poll: change format for type pollevent_t
...
complete the following commits:
commit d87cf8d4ca
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Date: Fri Apr 1 20:59:55 2022 +0800
fs/poll: change format for type pollevent_t
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
commit d535943a69
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Date: Fri Apr 1 17:49:10 2022 +0800
fs/epoll: change type of eventset from uint8_t to uint32_t
to support EPOLLONESHOT and so on.
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-07 16:23:32 +08:00
Jiuzhu Dong
d87cf8d4ca
fs/poll: change format for type pollevent_t
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-04-07 12:14:06 +08:00
yinshengkai
dfbf06e250
fix uinput rpmsg logic error
2022-04-06 14:36:11 +03:00
Xiang Xiao
9785d6606c
openamp: Change the dependence from OPENAMP to RPTUN
...
since all rpmsg driver need the extension api exposed by rptun driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-05 10:05:41 +03:00
Petro Karashchenko
d08fbca679
nuttx: unify FAR attribute usage across the code
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-04-04 21:32:58 +08:00
raiden00pl
c4c2c46ebf
note_sysview.c: fix compilation if CONFIG_SCHED_INSTRUMENTATION_FILTER not defined
2022-04-02 22:24:43 +08:00
raiden00pl
a984de6098
note_sysview.c: fix compilation for CONFIG_TASK_NAME_SIZE == 0
2022-04-02 22:24:43 +08:00
anjianjun
75ec6dffb6
mmcsd: Fix mmc card error but system can not catch it
...
Signed-off-by: anjianjun <anjianjun@xiaomi.com>
2022-04-01 20:54:57 +03:00
anjianjun
f95d13b3a1
mmcsd: Add gotextcsd callback to sdio_dev_s
...
so the driver implementation could get critical EXTCSD info
Signed-off-by: anjianjun <anjianjun@xiaomi.com>
2022-04-01 20:54:57 +03:00
zhuyanlin
79bcc662d9
power:driver: move pm_auto_update to outer dir
...
Pm_auto_update maybe called by outter PM users
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-04-02 00:11:00 +08:00
zhuyanlin
ae21df2ed3
power: unify lock states
...
unify critical_section and nxsem with pm_lock/pm_unlock
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-04-02 00:11:00 +08:00
wangbowen6
1b6ce6b4cf
SEGGER_RTT: solve compile error when enable segger rtt in armv7m.
...
1. SEGGER_RTT_ASM_ARMv7M include SEGGER_RTT.h, and SEGGER_RTT.h
include SEGGER_RTT_Conf.h, so add __ASSEMBLY__ in
SEGGER_RTT_Conf.h;
2. AFLAG add segger/config because SEGGER_RTT_ASM_ARMv7M.S
include SEGGER_RTT_Conf.h;
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-04-01 16:36:19 +08:00
Jiuzhu Dong
840ba09b24
driver/syslog: Add microseconds after date time
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-03-31 23:57:15 +08:00
ligd
8db038c18a
ioe_rpmsg: use rptun_wait/post to resolve deadlock with usrsock
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-31 01:37:49 +08:00
ligd
86a496d6ff
rptun: forward panic/reset to lowerhalf
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
759898c090
rptun: add ping rpmsg support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
a19aef4d36
rptun: enable rx interrupts for virtq
...
use wait_tx_buffer method need enable rx interrupts
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
1c7e59eafa
rptun: pm_stay when send msg & pm_relax when all tx buffer returned
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
f0ba2f0286
rptun: add rptun dump support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
5599f4e24a
rptun: divide shram to TX & RX
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
be49f6b87c
rptun: add rpmsg_wait/post support for recursive dispatch
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
7471d096cc
rptun: add rptun_panic for both master & salve
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
c9404e2705
rptun: use HPWORK instead of thread
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
3ab7ade4ba
rptun: add rptun_reset support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
7aba7c3790
rptun: add rptun_force_panic support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
ligd
5b6b748f6d
rptun: set rptun thread default stack size to 4K
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-30 10:00:07 +03:00
Richard Tucker
163e3fd93c
driver/mmcsd: add option to support SD/MMC PHYs that only run in 4-bit mode
2022-03-30 02:35:27 +08:00
ligd
7619d2a6f9
syslog: fix syslog print twice when active assert
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-29 12:20:37 +08:00
ligd
b6e0614be6
syslog: use & instead of % when calculate offset
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-29 12:20:37 +08:00
ligd
61cb79d192
syslog_rpmsg: change head & tail NON-wrap
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-29 12:20:37 +08:00
Jiuzhu Dong
b03f2e34b8
lseek: use type:off_t for return value
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-03-28 22:49:37 +08:00
Jiuzhu Dong
a8866132c2
ramlog: support setting threshold value of ramlog for poll waiters
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-03-28 22:48:56 +08:00
ligd
ed49aa1906
pm: remove unnecessary depends on OSINIT_OS_READY
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-03-28 22:48:14 +08:00
Xiang Xiao
7b97b3ad70
input/touchscreen: Fix the typo error
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-28 12:33:48 +03:00
Petro Karashchenko
98ba65c422
c89: get rid of designated initializers in common code
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-28 13:39:27 +08:00
Eero Nurkkala
1caf7d6f17
rptun: fix compile-time warning
...
Fix this compile-time warning:
rptun/rptun.c:956:22: warning: '%lx' directive output may be truncated writing between 1 and 16 bytes into a region of size 14 [-Wformat-truncation=]
956 | snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)priv);
| ^~~~~
rptun/rptun.c:956:25: note: format string is defined here
956 | snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)priv);
rptun/rptun.c:956:22: note: directive argument in the range [1, 18446744073709551615]
956 | snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)priv);
| ^~~~~
rptun/rptun.c:956:3: note: 'snprintf' output between 4 and 19 bytes into a destination of size 16
956 | snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)priv);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-03-25 22:18:28 +08:00
Petro Karashchenko
68902d8732
pid_t: unify usage of special task IDs
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 21:22:32 +08:00
Petro Karashchenko
757d01d915
progmem: eliminate PROGMEM_ERASESTATE configuration option
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 10:01:41 -03:00
Xiang Xiao
2277c18673
Fix rptun/rptun.c:572:7: warning: 'strncpy' specified bound 32 equals destination size
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-22 08:37:33 +02:00
Petro Karashchenko
b7c4746b0a
drivers/mtd/mtd_config: set different format versions for named and ID modes
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 10:19:21 +08:00
Xiang Xiao
2ccf54961f
drivers: Call uinput_keyboard_initialize in drivers_initialize
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
7ea14aa8f8
input/keyboard: Make each instance could have a different buffer size
...
just like what is done for touch screen driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
7de9b879a1
input/touchscreen: Change the type of touch_upperhalf_s::nums from uint32_t to uint8_t
...
to align with the type of touch_register
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
9b2c89fc0e
input/uinput: Remove the argument from initialization function
...
since each type of uinput just need Instantiate one instance
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
d19aa5aca4
input: Move uinput initialization from boards/sim to drivers
...
since uinput can be used not only on simulator but also on real device
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
fd5fb26f51
input/uinput: Rename UINPUT_TOUCHSCREEN to UINPUT_TOUCH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
8391ad2721
syslog: Change g_syslog_default_sem to static function variable
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-20 12:37:09 +02:00
chao.an
cce125aae7
regulator/rpmsg: list delete should use safe version in loop
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-19 11:13:55 +02:00
chao.an
40f63453f4
syslog/channel: minor fix to avoid unreachabled return
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-19 11:13:44 +02:00