mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
6f0078ae70
With the current code, we want to read 4 entries from DT array
"semtech,combined-sensors". If there are less, we silently fail as
of_property_read_u32_array() returns -EOVERFLOW.
First count the number of entries and if between 1 and 4, collect the
content of the array.
Fixes:
|
||
---|---|---|
.. | ||
as3935.c | ||
cros_ec_mkbp_proximity.c | ||
isl29501.c | ||
Kconfig | ||
Makefile | ||
mb1232.c | ||
ping.c | ||
pulsedlight-lidar-lite-v2.c | ||
rfd77402.c | ||
srf04.c | ||
srf08.c | ||
sx9310.c | ||
sx9500.c | ||
vcnl3020.c | ||
vl53l0x-i2c.c |