diff options
| author | Antoni Pokusinski <apokusinski01@gmail.com> | 2026-04-15 18:06:11 +0200 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-06-22 02:03:10 +0200 |
| commit | 419719c514252a2dbb2e2976f564c83417dd6d0a (patch) | |
| tree | 72d72b0b8a4f7b5991915a8dec8b48b73319b0a9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2098bb8ac5f5a66b1a0e02512ae11b6208936c92 (diff) | |
rtc: abx80x: fix the RTC_VL_CLR clearing all status flags
The RTC_VL_CLR ioctl intends to clear only the battery low flag (BLF),
however the current implementation writes 0 to the status register,
clearing all status bits.
Fix this by writing back the masked status value so that only BLF is
cleared, preserving other status flags.
Fixes: ffe1c5a2d427 ("rtc: abx80x: Implement RTC_VL_READ,CLR ioctls")
Signed-off-by: Antoni Pokusinski <apokusinski01@gmail.com>
Link: https://patch.msgid.link/20260415160610.127155-2-apokusinski01@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
