diff options
| author | 2026-10-18 22:36:22 +0530 | |
|---|---|---|
| committer | 2026-10-20 15:19:53 +0200 | |
| commit | 800d7627f552bbf602a1736b638aee0ada3fbf87 (patch) | |
| tree | 265fc641a46c773c5fb84f50237b6f1d43677652 /scripts/Makefile.thinlto | |
| parent | gpiolib: Free chip resources when allocating the label fails (diff) | |
gpio: davinci: Clear interrupt status in every bank on suspend
davinci_gpio_save_context() saves the registers of each 32-GPIO
register bank, but clears interrupt status only after the loop. At that
point g refers to the last bank, so pending status in all preceding
banks is left uncleared.
Move the interrupt-status write into the per-bank loop so that the
existing suspend-time clearing covers every register bank. Single-bank
controllers retain the same behavior.
Fixes: 0651a730924b ("gpio: davinci: Add support for system suspend/resume PM")
Cc: stable@vger.kernel.org
Signed-off-by: Sahaj Chaudhari <sahaj123.sc@gmail.com>
Link: https://patch.msgid.link/20261018170622.3406158-1-sahaj123.sc@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
