Following Derek Molloy's page on DTO GPIO configuration:
Unloading and reloading an overlay doesn’t work. If I make an overlay
for a single pin, with a setting of 0×27 (input with pull-down enable), it
works right after boot. Same for pull-up (0×37). But if I try to unload the
overlay (echo ‘-overlay_number’ >$SLOTS) and load one with the opposite
pull setting it doesn’t seem to take: I still get high if it was initially
configured with pull-up, or low if initially configured with pull-down.
Is there anything in the overlay example itself that might be causing this,
or is it just a bug somewhere?