diff options
author | Dirk Bender <d.bender@phytec.de> | 2021-07-26 09:35:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 11:40:27 +0100 |
commit | df1730f22c8e255090debacc8664bf5fd2d26062 (patch) | |
tree | 87f190d0b0d48b9a2180516b370dd1f7676abc2b /crypto/algif_aead.c | |
parent | 6a6f18d668515a3162327aa03929c251d86eb0b5 (diff) | |
download | linux-rt-df1730f22c8e255090debacc8664bf5fd2d26062.tar.gz |
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>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions