Skip to content
Commit 44ce3acf authored by Swapna Manupati's avatar Swapna Manupati Committed by Greg Kroah-Hartman
Browse files

gpio: zynq: Fix for bug in zynq_gpio_restore_context API



commit 36f2e720 upstream.

This patch writes the inverse value of Interrupt Mask Status
register into the Interrupt Enable register in
zynq_gpio_restore_context API to fix the bug.

Fixes: e11de4de ("gpio: zynq: Add support for suspend resume")
Signed-off-by: default avatarSwapna Manupati <swapna.manupati@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarSrinivas Neeli <srinivas.neeli@xilinx.com>
Link: https://lore.kernel.org/r/1577362338-28744-2-git-send-email-srinivas.neeli@xilinx.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 077ac6b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment