]> Git Repo - linux.git/commit
i2c: i2c-mux-pca954x: fix deselect enabling for device-tree
authorAlex Hemme <[email protected]>
Sat, 19 Nov 2016 09:48:38 +0000 (10:48 +0100)
committerWolfram Sang <[email protected]>
Sat, 19 Nov 2016 20:49:29 +0000 (21:49 +0100)
commitad092de60f865c1ad94221bd06d381ecea446cc8
tree87e5737b4f306dc6911fbae2d0ae63c68b979a3c
parent68d85d0e03eab60c238ebe673c7cea1cf70275d4
i2c: i2c-mux-pca954x: fix deselect enabling for device-tree

Deselect functionality can be ignored for device-trees with
"i2c-mux-idle-disconnect" entries if no platform_data is available.
By enabling the deselect functionality outside the platform_data
block the logic works as it did in previous kernels.

Fixes: 7fcac9807175 ("i2c: i2c-mux-pca954x: convert to use an explicit i2c mux core")
Cc: <[email protected]> # v4.7+
Signed-off-by: Alex Hemme <[email protected]>
Signed-off-by: Ziyang Wu <[email protected]>
[touched up a few minor issues /peda]
Signed-off-by: Peter Rosin <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
drivers/i2c/muxes/i2c-mux-pca954x.c
This page took 0.058439 seconds and 4 git commands to generate.