summaryrefslogtreecommitdiff
path: root/mm/debug_vm_pgtable.c
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2022-09-15 14:57:19 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-09-21 18:42:55 +0100
commit7b4ab4abcea4c0c10b25187bf2569e5a07e9a20c (patch)
tree88a8b2a77d7f775b57b23979905705c118caf029 /mm/debug_vm_pgtable.c
parentc2329717bdd3fa62f8a2f3d8d85ad0bee4556bd7 (diff)
iio: pressure: dps310: Reset chip after timeout
The DPS310 chip has been observed to get "stuck" such that pressure and temperature measurements are never indicated as "ready" in the MEAS_CFG register. The only solution is to reset the device and try again. In order to avoid continual failures, use a boolean flag to only try the reset after timeout once if errors persist. Fixes: ba6ec48e76bc ("iio: Add driver for Infineon DPS310") Cc: <stable@vger.kernel.org> Signed-off-by: Eddie James <eajames@linux.ibm.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20220915195719.136812-3-eajames@linux.ibm.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'mm/debug_vm_pgtable.c')
0 files changed, 0 insertions, 0 deletions