diff options
| author | 2026-07-04 15:15:11 +0800 | |
|---|---|---|
| committer | 2026-07-11 23:38:55 +0100 | |
| commit | daf79105f9b08a3f2cb205a32bf8e57c936095f4 (patch) | |
| tree | 8234500331424544ba69aecc24ce9e11d8d1b1ff /scripts/Makefile.thinlto | |
| parent | iio: light: vcnl4035: Propagate regcache_sync() errors (diff) | |
iio: light: rpr0521: Propagate regcache_sync() errors
rpr0521_runtime_suspend() powers the device down and marks the regmap
cache dirty. rpr0521_runtime_resume() syncs the cache before restoring
enabled ALS/PXS channels, but currently ignores a regcache_sync()
failure and can still return success.
Return the regcache_sync() error so resume does not hide a failed
register restore.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
