HomeFreeBSD

a10_gpio: Don't do read/set dance if pin is already configured for output

Description

a10_gpio: Don't do read/set dance if pin is already configured for output

This fixes some regulator issues with a83t/BananaPi-M3; the pin value was
getting clobbered as we reconfigured the pin when initializing the
regulator.

Discussed with: ian

Details

Provenance
kevansAuthored on
Parents
rS326594: Now that we offer a semi-sane standards-ish set of #include files in
Branches
Unknown
Tags
Unknown