diff options
author | Cibil Pankiras <cibil.pankiras@aerq.com> | 2024-11-14 10:13:23 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-12-07 17:47:58 +0000 |
commit | df81f90c500b018e4793e9f4be3c6966930f8417 (patch) | |
tree | 67e42fcfecd42f839297ea97a66c095cbbfb4ea4 /drivers/iio/buffer/industrialio-buffer-dmaengine.c | |
parent | 2d6941932974005867e7f02f113edac63b598b45 (diff) |
iio: light: cm3232: Reset before reading HW ID
According to the datasheet, the chip requires a reset before any data
can be read. This commit moves the device identification logic to
occur after the reset to ensure proper initialization.
Cc: Kevin Tsai <ktsai@capellamicro.com>
Signed-off-by: Cibil Pankiras <cibil.pankiras@aerq.com>
Link: https://patch.msgid.link/20241114091323.7415-1-cibil.pankiras@aerq.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/buffer/industrialio-buffer-dmaengine.c')
0 files changed, 0 insertions, 0 deletions