Dirk Bender
df1730f22c
media: mt9p031: Fix corrupted frame after restarting stream
...
[ Upstream commit 0961ba6dd211a4a52d1dd4c2d59be60ac2dc08c7 ]
To prevent corrupted frames after starting and stopping the sensor its
datasheet specifies a specific pause sequence to follow:
Stopping:
Set Pause_Restart Bit -> Set Restart Bit -> Set Chip_Enable Off
Restarting:
Set Chip_Enable On -> Clear Pause_Restart Bit
The Restart Bit is cleared automatically and must not be cleared
manually as this would cause undefined behavior.
Signed-off-by: Dirk Bender <d.bender@phytec.de>
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:40:27 +01:00
..
2020-02-14 16:32:23 -05:00
2018-07-11 16:29:21 +02:00
2017-08-20 08:33:46 -04:00
2020-10-29 09:07:01 +01:00
2021-07-20 16:17:34 +02:00
2020-10-01 13:12:27 +02:00
2018-10-03 17:00:50 -07:00
2017-06-08 12:34:17 -03:00
2019-02-12 19:45:59 +01:00
2017-01-27 11:38:09 -02:00
2017-01-30 15:47:05 -02:00
2017-01-27 11:38:09 -02:00
2017-07-20 06:54:04 -04:00
2017-02-27 18:43:46 -08:00
2017-01-27 11:38:09 -02:00
2016-09-06 16:21:24 -03:00
2021-05-22 10:57:19 +02:00
2021-05-22 10:57:19 +02:00
2021-05-22 10:57:19 +02:00
2017-02-03 09:33:55 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-06-20 08:18:12 -03:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2016-12-24 11:46:01 -08:00
2017-01-27 11:38:09 -02:00
2016-09-06 16:21:24 -03:00
2017-01-27 11:38:09 -02:00
2019-11-24 08:23:22 +01:00
2017-08-20 10:02:48 -04:00
2018-02-25 11:07:55 +01:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2019-07-31 07:28:27 +02:00
2020-12-29 13:46:56 +01:00
2017-06-20 07:02:43 -03:00
2017-02-03 09:34:43 -02:00
2017-01-27 11:38:09 -02:00
2017-11-02 11:10:55 +01:00
2017-05-19 07:10:03 -03:00
2017-01-27 11:38:09 -02:00
2019-04-05 22:31:38 +02:00
2021-11-26 11:40:27 +01:00
2017-08-20 08:32:00 -04:00
2020-02-28 16:35:56 +01:00
2017-02-03 09:23:19 -02:00
2017-04-25 07:08:21 -03:00
2020-01-27 14:46:30 +01:00
2020-06-20 10:25:18 +02:00
2019-10-05 12:47:52 +02:00
2017-06-06 09:58:16 -03:00
2021-03-03 18:22:41 +01:00
2020-01-17 19:45:51 +01:00
2017-01-27 11:38:09 -02:00
2019-05-08 07:20:53 +02:00
2019-10-05 12:47:56 +02:00
2017-08-20 08:35:11 -04:00
2021-07-20 16:17:34 +02:00
2021-07-20 16:17:34 +02:00
2017-02-03 09:23:19 -02:00
2021-07-20 16:17:34 +02:00
2017-07-19 15:00:57 -04:00
2016-12-24 11:46:01 -08:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-08-26 08:42:57 -04:00
2017-01-27 11:38:09 -02:00
2016-10-21 15:15:06 -02:00
2017-01-27 11:38:09 -02:00
2017-02-03 11:16:02 -02:00
2021-07-20 16:17:35 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-12 19:45:59 +01:00
2017-01-27 11:38:09 -02:00
2016-10-21 08:51:29 -02:00
2017-01-27 11:38:09 -02:00
2017-06-06 09:58:16 -03:00
2016-12-21 07:31:49 -02:00
2019-10-05 12:47:34 +02:00
2017-01-27 11:38:09 -02:00
2017-06-06 09:58:16 -03:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00
2017-08-09 11:19:20 -04:00
2017-01-27 11:38:09 -02:00
2017-01-27 11:38:09 -02:00