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)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:00 +0000 (11:33 +0000)
commit1e6194cdc765325b0d67d4ccfaabb594c6046694
tree8503b17f80455db954cd2832c61567f723075252
parentb5101d0c51ebaed64f192bdbacb3340c08281534
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