i2c: muxes: pca954x: Fix broken reset-gpio usage
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 3 Nov 2025 15:19:06 +0000 (16:19 +0100)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 3 Nov 2025 17:04:15 +0000 (18:04 +0100)
commit6a0dddc53f6f04281b27254a7d940fb9bb2d5a3b
tree5db9efc8ce3a1301bc5b5247bb2336d4e1ca7f6f
parent6146a0f1dfae5d37442a9ddcba012add260bceb0
i2c: muxes: pca954x: Fix broken reset-gpio usage

Revert commit 690de2902dca ("i2c: muxes: pca954x: Use reset controller
only") and its dependent commit 94c296776403 ("i2c: muxes: pca954x:
Reset if (de)select fails") because the first breaks all users of the
driver, by requiring a completely optional reset-gpio driver.  These
commits cause that mux driver simply stops working when optional
reset-gpio is not included, but that reset-gpio is not pulled anyhow.

Driver cannot remove legacy reset-gpios handling.

Fixes: 690de2902dca ("i2c: muxes: pca954x: Use reset controller only")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/muxes/i2c-mux-pca954x.c