Re: [PATCH] gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source

2019-09-17 Thread Bartosz Golaszewski
wt., 10 wrz 2019 o 10:22 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > When emulating open-drain/open-source by not actively driving the output > lines - we're simply changing their mode to input. This is wrong as it > will then make it impossible to change the value of such

Re: [PATCH] gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source

2019-09-10 Thread Bartosz Golaszewski
wt., 10 wrz 2019 o 12:48 Sasha Levin napisał(a): > > Hi, > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag, > fixing commit: c663e5f56737 gpio: support native single-ended hardware > drivers. > > The bot has tested the following trees:

[PATCH] gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source

2019-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski When emulating open-drain/open-source by not actively driving the output lines - we're simply changing their mode to input. This is wrong as it will then make it impossible to change the value of such line - it's now considered to actually be in input mode. If we want