i2c: mux: pca954x: retry updating the mux selection on failure

commit 463e8f845c upstream.

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>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Peter Rosin 2016-09-14 15:24:12 +02:00 • committed by Ben Hutchings
commit 77d74c0a67