- Jul 11, 2024
-
-
Bryan O'Donoghue authored
The ov5675 specification says that the gap between XSHUTDN deassert and the first I2C transaction should be a minimum of 8192 XVCLK cycles. Right now we use a usleep_rage() that gives a sleep time of between about 430 and 860 microseconds. On the Lenovo X13s we have observed that in about 1/20 cases the current timing is too tight and we start transacting before the ov5675's reset cycle completes, leading to I2C bus transaction failures. The reset racing is sometimes triggered at initial chip probe but, more usually on a subsequent power-off/power-on cycle e.g. [ 71.451662] ov5675 24-0010: failed to write reg 0x0103. error = -5 [ 71.451686] ov5675 24-0010: failed to set plls The current quiescence period we have is too tight. Instead of expressing the post reset delay in terms of the current XVCLK this patch converts the power-on and power-off delays to the maximum theoretical delay @ 6 MHz with an additional buffer. 1.365 milliseconds on the power-on path is 1.5 milliseconds with grace. 853 microseconds on the power-off path is 900 microseconds with grace. Fixes: 49d9ad71 ("media: ov5675: add device-tree support and support runtime PM") Cc: stable@vger.kernel.org Signed-off-by:
Bryan O'Donoghue <bryan.odonoghue@linaro.org>
-
- Jul 10, 2024
-
-
Stephen Rothwell authored
Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Stephen Rothwell authored
This reverts commit dc6fcaab.
-
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.gitStephen Rothwell authored
# Conflicts: # drivers/power/sequencing/core.c
-
-
-
-
-
https://github.com/Rust-for-Linux/linux.gitStephen Rothwell authored
# Conflicts: # rust/bindings/bindings_helper.h
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/crng/random.gitStephen Rothwell authored
# Conflicts: # mm/rmap.c # tools/testing/selftests/mm/Makefile
-
-
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.gitStephen Rothwell authored
# Conflicts: # mm/memblock.c
-
-
-
-
-
Stephen Rothwell authored
Merge branch 'libnvdimm-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git
-
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.gitStephen Rothwell authored
# Conflicts: # drivers/scsi/mpi3mr/mpi3mr_transport.c
-
-
-