summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorPetlozu Pravareshwar <petlozup@nvidia.com>2022-09-30 19:14:52 +0300
committerThierry Reding <treding@nvidia.com>2022-11-10 04:48:05 +0300
commit1ddb8f6d44ff482c9953a06f800453bc372cfead (patch)
treea0bc82021b9609176c250d37fd77ca3825c0d72a /fs/exec.c
parentc9c4ddb20c427b19c6a2a1787bf82c7b2aac25c3 (diff)
downloadlinux-1ddb8f6d44ff482c9953a06f800453bc372cfead.tar.xz
soc/tegra: pmc: Fix dual edge triggered wakes
When a wake event is defined to be triggered on both positive and negative edge of the input wake signal, it is crucial to know the current state of the signal when going into suspend. The intended way to obtain the current state of the wake signals is to read the WAKE_AOWAKE_SW_STATUS register, which should contains the raw state of the wake signals. However, this register is edge triggered, an edge will not be generated for signals that are already asserted prior to the assertion of WAKE_LATCH_SW. To workaround this, change the polarity of the wake level from '0' to '1' while latching the signals, as this will generate an edge for signals that are set to '1'. Signed-off-by: Stefan Kristiansson <stefank@nvidia.com> Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions