media: irs1125: Using i2c_transfer for ic2 reads
authorMarkus Proeller <markus.proeller@pieye.org>
Tue, 16 Jun 2020 11:24:31 +0000 (13:24 +0200)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:12 +0000 (19:13 +0000)
commitd5a5251b7e3b7cc71180bad13e1e73aa96efb804
tree0ba80c1bc29067fda21c38b065e3cc18096c9ff6
parent75340c6660067f8ef3738f1b083d50d6d3d2cb49
media: irs1125: Using i2c_transfer for ic2 reads

Reading data over i2c is done by using i2c_transfer to ensure that this
operation can't be interrupted.

Signed-off-by: Markus Proeller <markus.proeller@pieye.org>
drivers/media/i2c/irs1125.c