HomeFreeBSD

mtk_gpio fixes

Description

mtk_gpio fixes

Allow output pins to be read and input pins to be set.
Fix bugs where we were trying to access the gpio softc before doing
device_get_softc.

Approved by: adrian (mentor)
Sponsored by: Smartcom - Bulgaria AD
Differential Revision: https://reviews.freebsd.org/D6222

Details

Provenance
sgalabovAuthored on
Differential Revision
D6222: mtk_gpio fixes
Parents
rS299153: MFC r298038
Branches
Unknown
Tags
Unknown