Re: [PATCH v4 14/14] i2c: mux: demux-pinctrl: make drivers with no pinctrl work again

2016-11-10 Thread Wolfram Sang
On Sun, Nov 06, 2016 at 09:20:32PM +0100, Wolfram Sang wrote: > Some drivers like i2c-gpio do not have dedicated pinctrl states. They > broke when error checking for pinctrl was added. Detect them now, and in > their case, simply skip over pinctrl configuration. > > Signed-off-by: Wolfram Sang A

Re: [PATCH v4 14/14] i2c: mux: demux-pinctrl: make drivers with no pinctrl work again

2016-11-07 Thread Geert Uytterhoeven
On Sun, Nov 6, 2016 at 9:20 PM, Wolfram Sang wrote: > Some drivers like i2c-gpio do not have dedicated pinctrl states. They > broke when error checking for pinctrl was added. Detect them now, and in > their case, simply skip over pinctrl configuration. > > Signed-off-by: Wolfram Sang > --- > dri

[PATCH v4 14/14] i2c: mux: demux-pinctrl: make drivers with no pinctrl work again

2016-11-06 Thread Wolfram Sang
Some drivers like i2c-gpio do not have dedicated pinctrl states. They broke when error checking for pinctrl was added. Detect them now, and in their case, simply skip over pinctrl configuration. Signed-off-by: Wolfram Sang --- drivers/i2c/muxes/i2c-demux-pinctrl.c | 22 -- 1