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, 1 Jul 2020 15:34:12 +0000 (16:34 +0100)
commit23e2abb5c1cd7beb83c6dbf3628f9186663c5da2
treebe693f29f5191dcb0e6c98661c9091b65d6afb9b
parentb2fe513b8134ddc93f25396479e1a2bd836865ca
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