]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mux: pca954x: retry updating the mux selection on failure
authorPeter Rosin <peda@axentia.se>
Wed, 14 Sep 2016 13:24:12 +0000 (15:24 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 21 Sep 2016 21:10:21 +0000 (23:10 +0200)
commit4709ac49c9ec772576d586dd98e4e6d580f2a334
treedfa5cfe2776a77298702dc819d83a5d623e0138f
parent0d9ffe52c4883505993aa61412f06ee2d76e6894
i2c: mux: pca954x: retry updating the mux selection on failure

The cached value of the last selected channel prevents retries on the
next call, even on failure to update the selected channel. Fix that.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/muxes/i2c-mux-pca954x.c