summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-07-28 07:09:54 -0700
committerGuenter Roeck <linux@roeck-us.net>2024-07-31 10:43:53 -0700
commit02c3c4e7026b307a220132b59758432b6e7a0cac (patch)
tree0ba2ebb9a0aa845a7ccdb45140f962e42175b84f /scripts/lib/kdoc/kdoc_parser.py
parent216147e624638fbcd64ed1014916138733b01653 (diff)
hwmon: (max1619) Mask valid alarm bits
Bit 0, 5, and 6 in the status register are reserved and, if set, do not indicate an alarm. Bit 7 is the 'busy' bit and also does not indicate an alarm. Mask the non-alarm bits to avoid reporting them to userspace. Cc: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions