summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-03-26 12:37:00 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-28 14:05:46 +0100
commit6b8cffdc4a31e4a72f75ecd1bc13fbf0dafee390 (patch)
treeaaa6e01e58df78983fed0a99a41f0e7fef228d75 /rust
parentiio: accel: mxc4005: Interrupt handling fixes (diff)
downloadlinux-6b8cffdc4a31e4a72f75ecd1bc13fbf0dafee390.tar.xz
linux-6b8cffdc4a31e4a72f75ecd1bc13fbf0dafee390.zip
iio: accel: mxc4005: Reset chip on probe() and resume()
On some designs the chip is not properly reset when powered up at boot or after a suspend/resume cycle. Use the sw-reset feature to ensure that the chip is in a clean state after probe() / resume() and in the case of resume() restore the settings (scale, trigger-enabled). Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218578 Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20240326113700.56725-3-hdegoede@redhat.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions