projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae04733
)
media: i2c: imx296: Add 2ms delay after releasing standby
author
Nick Hollinghurst
<nick.hollinghurst@raspberrypi.com>
Fri, 28 Jul 2023 10:59:28 +0000
(11:59 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:34:52 +0000
(11:34 +0000)
The delay seems to be required to reliably read model ID.
(The same delay is already used when starting the camera.)
Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
drivers/media/i2c/imx296.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/imx296.c
b/drivers/media/i2c/imx296.c
index
e16588f
..
adce60a
100644
(file)
--- a/
drivers/media/i2c/imx296.c
+++ b/
drivers/media/i2c/imx296.c
@@
-949,6
+949,7
@@
static int imx296_identify_model(struct imx296 *sensor)
"failed to get sensor out of standby (%d)\n", ret);
return ret;
}
"failed to get sensor out of standby (%d)\n", ret);
return ret;
}
+ usleep_range(2000, 5000);
usleep_range(2000, 5000);
usleep_range(2000, 5000);