HomeFreeBSD

aw_gpio: temporarily switch to input function if read in eint mode

Description

aw_gpio: temporarily switch to input function if read in eint mode

This is needed for gpiokeys driver that needs to read input state after
receiving an interrupt for either edge.

PR: 248138

(cherry picked from commit b98558e69b0aefbb99120a8a6ca7efbb8cafab5b)

Details

Provenance
avgAuthored on Feb 18 2024, 1:55 PM
Parents
rG73c9d514236e: Revert "dtrace: make 'ring' and 'fill' policies imply 'noswitch' flag"
Branches
Unknown
Tags
Unknown