diff options
author | 2023-08-17 17:10:38 +0100 | |
---|---|---|
committer | 2023-08-27 23:48:32 +0200 | |
commit | f45d32d2cd183c09b6c9aa8689a91d6f2760b557 (patch) | |
tree | 348dbbf0b7aa07831967ded23c28781950b24e37 /scripts/generate_rust_analyzer.py | |
parent | MAINTAINERS: remove obsolete pattern in RTC SUBSYSTEM section (diff) | |
download | linux-rng-f45d32d2cd183c09b6c9aa8689a91d6f2760b557.tar.xz linux-rng-f45d32d2cd183c09b6c9aa8689a91d6f2760b557.zip |
rtc: isl1208: Fix incorrect logic in isl1208_set_xtoscb()
The XTOSCB bit is not bit 0, but xtosb_val is either 0 or 1. If it is 1,
test will never succeed. Fix this issue by using double negation.
While at it, remove unnecessary blank line from probe().
Reported-by: Pavel Machek <pavel@denx.de>
Closes: https://lore.kernel.org/all/ZN4BgzG2xmzOzdFZ@duo.ucw.cz/
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Pavel Machek <pavel@denx.de>
Link: https://lore.kernel.org/r/20230817161038.407960-1-biju.das.jz@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions