]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mux: demux-pinctrl: invalidate properly when switching fails
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Aug 2016 14:52:21 +0000 (16:52 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 25 Aug 2016 16:41:34 +0000 (18:41 +0200)
commit08ad113984e3eea4185aed68b5a0a0affc845bcb
tree54b138595fd10d1b23db33fc65afcb200a1bfdc0
parent5aae0ef8ecd1e0f786f43df45a48d7babf83a452
i2c: mux: demux-pinctrl: invalidate properly when switching fails

Make sure the index to the active channel is invalidated when switching
fails.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-demux-pinctrl.c