OSDN Git Service

media: atomisp: simplify ov2680 array write logic
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 19 May 2020 15:43:57 +0000 (17:43 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 12:51:29 +0000 (14:51 +0200)
commit1bc075cbaf642e3ed74540aa54e7ef6c5274e2b1
tree57b2c975c3543ecc08be513365b5bef1b595798b
parentb0ac238396c41e78025d05d9167027940fbef2b4
media: atomisp: simplify ov2680 array write logic

Instead of trying to send multiple bytes at the same time,
just go one by one, like the upstream driver does.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c