diff options
author | xingtong.wu <xingtong.wu@siemens.com> | 2023-07-28 10:36:51 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-07-31 13:13:48 +0200 |
commit | d0563dd3345f7d6feb950204a3480f169d93a659 (patch) | |
tree | fe30a748e727d8737c7787c1d6cf1ae2a25d09ca /scripts/gdb/linux/interrupts.py | |
parent | 9bc289b8123ce149bc4088dbe74300057fa244c3 (diff) |
platform/x86/siemens: simatic-ipc-batt: fix bat reading in BX_21A
There was a case missing in a switch statement which lead to that model
not actually reading the GPIOs. That switch statement got simplified
now. Additionally on that model we need to initialize one pin
differently. As a drive-by finding also add a missing newline.
Fixes: 917f54340794 ("platform/x86: simatic-ipc: add CMOS battery monitoring")
Reported-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: xingtong.wu <xingtong.wu@siemens.com>
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Link: https://lore.kernel.org/r/20230728083651.19747-1-henning.schild@siemens.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions