diff options
author | Bingbu Cao <bingbu.cao@intel.com> | 2020-07-24 06:45:38 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-01 15:13:26 +0300 |
commit | 3cb14256d8876490a028c766f1be3a3f7bdd8c95 (patch) | |
tree | 2c910b24a1755ee272b8148e62c4222271103dd9 /Documentation/SubmittingPatches | |
parent | 1d8f95c497053839be326bd97eb3128e3b3312cb (diff) | |
download | linux-3cb14256d8876490a028c766f1be3a3f7bdd8c95.tar.xz |
media: i2c: ov2740: get OTP data ready before nvmem registration
The OTP data was not ready after registered as nvmem device, it is
risky as the nvmem read may happen once the device exists, this patch
get the OTP data ready before registering the nvmem device. OTP data
missing should not break the normal camera sensor probe, so use a
warning instead of an error message.
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Qingwu Zhang <qingwu.zhang@intel.com>
Suggested-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/SubmittingPatches')
0 files changed, 0 insertions, 0 deletions