diff options
Diffstat (limited to 'common/motion_sense.c')
-rw-r--r-- | common/motion_sense.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/motion_sense.c b/common/motion_sense.c index c4c380629b..6e29a070c9 100644 --- a/common/motion_sense.c +++ b/common/motion_sense.c @@ -1150,13 +1150,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 { |