summaryrefslogtreecommitdiff
path: root/baseboard/brya
diff options
context:
space:
mode:
authorRuihai Zhou <zhouruihai@huaqin.corp-partner.google.com>2023-05-10 19:03:31 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-16 16:39:51 +0000
commit45397393246d14872a895cbefcb219bc5e31fc6f (patch)
treeecc09880b9534330bd2b0f4c72d1dcfc0451ddad /baseboard/brya
parentd20b09e533f7190284df1f60c60b9430f7ba0dd5 (diff)
downloadchrome-ec-45397393246d14872a895cbefcb219bc5e31fc6f.tar.gz
motion_sense: Fix null pointer reference in gesture detection
The motion_sense_fifo_stage_data with NULL were removed in CL:4499747. But we need to stage and commit the motion state changed to activity sensor for body detection on the ap side. Revert the change and Add null pointer check in motion_sense_fifo_stage_data and fifo_stage_unit to fix it. BUG=b:272655176 TEST=./twister -v -i -p native_posix -p unit_testing -s drivers/drivers.body_detection TEST=received User proximity: Near/Far event from powerd log Change-Id: I1ef882f25e07fa17d879d8b0a4b9ffe211b071e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4520740 Tested-by: Ruihai Zhou <zhouruihai@huaqin.corp-partner.google.com> Commit-Queue: Tim Van Patten <timvp@google.com> Reviewed-by: Sung-Chi Li <lschyi@chromium.org> Reviewed-by: Tim Van Patten <timvp@google.com>
Diffstat (limited to 'baseboard/brya')
0 files changed, 0 insertions, 0 deletions