diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-01 10:38:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-11 19:12:14 +0200 |
commit | baf768cf29f8fb1529e160e3ee481746ae78f6c7 (patch) | |
tree | 66dca20b8254e182fcc67e8f0bcb82b63415c0cf /drivers/hid/hid-sensor-custom.c | |
parent | 92b2bc49fc7cb9219d144bff018884dfb000eb03 (diff) | |
download | linux-baf768cf29f8fb1529e160e3ee481746ae78f6c7.tar.bz2 |
media: atomisp: set DFS to MAX if sensor doesn't report fps
If the sensor doesn't implement support for g_frame_interval,
it won't return the expected fps rate.
Instead of keeping DFS on its minimal value (which will likely
not work), set it to the max.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/hid/hid-sensor-custom.c')
0 files changed, 0 insertions, 0 deletions