Linus Walleij writes: > From: Phil Elwell > > When dynamically unloading overlays, it is important that freed pins are > restored to being inputs to prevent functions from being enabled in > multiple places at once. > > Cc: Stefan Wahren > Cc: Eric Anholt > Cc: Stephen Warren > Signed-off-by: Phil Elwell > Signed-off-by: Linus Walleij Acked-by: Eric Anholt