]> www.infradead.org Git - users/willy/xarray.git/commit
media: ccs: Try a little longer to access the sensor before giving up
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 15 Oct 2024 06:59:52 +0000 (09:59 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 25 Apr 2025 08:15:33 +0000 (10:15 +0200)
commite848475c33fc42e8bd7052227e65ca35d6ff046f
tree8d28ee11beeec84972581ab72f5d8705dc740787
parent5bd6b8c1bb2d49d5ff15c7c47d6b33d2d38785f0
media: ccs: Try a little longer to access the sensor before giving up

Some sensors take longer to respond after reset than the spec-required
time. Try up to 1 s for the sensor to become accessible.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/ccs/ccs-core.c
drivers/media/i2c/ccs/ccs.h