On Mon, May 15, 2017 at 9:16 AM, Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> wrote: > On Mon, May 15, 2017 at 10:21:30AM +0800, Shawn Guo wrote: >> You will need to free the GPIO before muxing it to a different function, >> I think. > > IMHO this is a bad concept. This makes GPIOs more special than for > example PWMs or LEDs. And it breaks some configurations (for example the > make-pins-highz-on-idle setup in my previous mails). So this is the reason why pin controllers can choose to be strict or not: people disagree on the semantics. But it's good if the driver maintainers agree for a certain driver :D Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html