diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2020-04-28 00:59:02 +0200 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2020-04-29 23:17:45 +0200 |
commit | b31d1d2b1c3a8452f425b09ebd374ecd3ddd5179 (patch) | |
tree | f55db54f3e521f0e2ce5e50cd99849170ea0933d /drivers/thermal/Kconfig | |
parent | platform/chrome: cros_ec_sensorhub: Add missing '\n' in log messages (diff) | |
download | linux-b31d1d2b1c3a8452f425b09ebd374ecd3ddd5179.tar.xz linux-b31d1d2b1c3a8452f425b09ebd374ecd3ddd5179.zip |
platform/chrome: cros_ec_sensorhub: Allocate sensorhub resource before claiming sensors
Allocate callbacks array before enumerating the sensors: The probe routine
for these sensors (for instance cros_ec_sensors_probe) can be called
within the sensorhub probe routine (cros_ec_sensors_probe())
Fixes: 145d59baff594 ("platform/chrome: cros_ec_sensorhub: Add FIFO support")
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reported-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
0 files changed, 0 insertions, 0 deletions