summaryrefslogtreecommitdiff
path: root/common/motion_sense.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/motion_sense.c')
-rw-r--r--common/motion_sense.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/common/motion_sense.c b/common/motion_sense.c
index 58e98f2d50..307a275e94 100644
--- a/common/motion_sense.c
+++ b/common/motion_sense.c
@@ -1135,13 +1135,7 @@ static int host_cmd_motion_sense(struct host_cmd_handler_args *args)
out->info.chip = sensor->chip;
if (args->version >= 3) {
out->info_3.min_frequency = sensor->min_frequency;
- /*
- * Make sure reported max frequency for this sensor
- * doesn't exceed the max sensor frequency the EC is
- * capable of supporting
- */
- out->info_3.max_frequency = MIN(sensor->max_frequency,
- CONFIG_EC_MAX_SENSOR_FREQ_MILLIHZ);
+ out->info_3.max_frequency = sensor->max_frequency;
out->info_3.fifo_max_event_count = MAX_FIFO_EVENT_COUNT;
args->response_size = sizeof(out->info_3);
} else {