summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2022-04-26 12:06:00 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-23 16:44:43 +0000
commit8a1ca222a7d10507be6a14c1a426ba7a12ea0f26 (patch)
tree1b4c711986e9a25eea5a281c36f0454a71e73803
parent82cc5607bba39f60d8a924054ba65aa9848b11a9 (diff)
downloadchrome-ec-8a1ca222a7d10507be6a14c1a426ba7a12ea0f26.tar.gz
brya: remove force mode for lid accel
Since the accelerometer is configured to use interrupt, remove conflicting force mode definition. Fixes commit ed9b4784c53c ("brya: add motionsense task and IMU sensors") BUG=b:230401133,b:179648721 BRANCH=brya TEST=On brya, check hardware.SensorIioserviceHard passes. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Change-Id: I45036bc6b849f12e4091d4aa9715385d08c5b314 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3609361 Reviewed-by: Yuval Peress <peress@google.com>
-rw-r--r--board/brya/board.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/brya/board.h b/board/brya/board.h
index c8af71de68..8188ee68d9 100644
--- a/board/brya/board.h
+++ b/board/brya/board.h
@@ -57,9 +57,8 @@
/* Depends on how fast the AP boots and typical ODRs */
#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO_SIZE / 3)
-/* Sensors without hardware FIFO are in forced mode */
-#define CONFIG_ACCEL_FORCE_MODE_MASK \
- (BIT(LID_ACCEL) | BIT(CLEAR_ALS))
+/* Sensors without hardware interrupt are in forced mode */
+#define CONFIG_ACCEL_FORCE_MODE_MASK BIT(CLEAR_ALS)
/* Lid accel */
#define CONFIG_LID_ANGLE