]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: set DFS to MAX if sensor doesn't report fps
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 1 Jun 2020 08:38:47 +0000 (10:38 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:12:14 +0000 (19:12 +0200)
commita8d39270ec113f441a0383f55953fcc857365292
tree66dca20b8254e182fcc67e8f0bcb82b63415c0cf
parent05052b43e108da4689e0fe5b9a7ea35d54d9d6f9
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>
drivers/staging/media/atomisp/pci/atomisp_cmd.c