Page MenuHomeFreeBSD

mtk_gpio fixes

Authored by sgalabov on May 5 2016, 12:28 PM.


rS299154: 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.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sgalabov updated this revision to Diff 15926.May 5 2016, 12:28 PM
sgalabov retitled this revision from to mtk_gpio fixes.
sgalabov updated this object.
sgalabov edited the test plan for this revision. (Show Details)
sgalabov added a reviewer: adrian.
sgalabov set the repository for this revision to rS FreeBSD src repository.
sgalabov added a project: MIPS.
sgalabov updated this revision to Diff 15929.May 5 2016, 12:35 PM

Update diff

adrian accepted this revision.May 5 2016, 3:53 PM
adrian edited edge metadata.
This revision is now accepted and ready to land.May 5 2016, 3:53 PM
This revision was automatically updated to reflect the committed changes.