summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2020-04-28 01:59:02 +0300
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-04-30 00:17:45 +0300
commitb31d1d2b1c3a8452f425b09ebd374ecd3ddd5179 (patch)
treef55db54f3e521f0e2ce5e50cd99849170ea0933d /scripts/gdb/linux/utils.py
parent538b8471fee89eaf18f6bfbbc0576473f952b83e (diff)
downloadlinux-b31d1d2b1c3a8452f425b09ebd374ecd3ddd5179.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions