diff options
| author | Claudiu Beznea <[email protected]> | 2024-04-19 06:38:22 +0000 |
|---|---|---|
| committer | Geert Uytterhoeven <[email protected]> | 2024-04-22 07:54:00 +0000 |
| commit | 02cd2d3be1c31a3fd328ee83e576340d34bc57d9 (patch) | |
| tree | 38c24ba0227feebd8b1baadc003d802c16a13c68 /net/unix/sysctl_net_unix.c | |
| parent | pinctrl: renesas: rzg2l: Execute atomically the interrupt configuration (diff) | |
| download | kernel-02cd2d3be1c31a3fd328ee83e576340d34bc57d9.tar.gz kernel-02cd2d3be1c31a3fd328ee83e576340d34bc57d9.zip | |
pinctrl: renesas: rzg2l: Configure the interrupt type on resume
Commit dce0919c83c3 ("irqchip/renesas-rzg2l: Do not set TIEN and TINT
source at the same time") removed the setup of TINT from
rzg2l_irqc_irq_enable(). To address the spurious interrupt issue the
setup of TINT has been moved in rzg2l_tint_set_edge() through
rzg2l_disable_tint_and_set_tint_source(). With this, the interrupts are
not properly re-configured after a suspend-to-RAM cycle. To address
this issue and avoid spurious interrupts while resumming set the
interrupt type before enabling it.
Fixes: dce0919c83c3 ("irqchip/renesas-rzg2l: Do not set TIEN and TINT source at the same time")
Signed-off-by: Claudiu Beznea <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
