Merge branch 'i2c/for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
[linux-2.6-microblaze.git] / drivers / i2c / i2c-mux.c
index 29646aa..f330690 100644 (file)
@@ -87,8 +87,8 @@ static int __i2c_mux_smbus_xfer(struct i2c_adapter *adap,
 
        ret = muxc->select(muxc, priv->chan_id);
        if (ret >= 0)
-               ret = parent->algo->smbus_xfer(parent, addr, flags,
-                                       read_write, command, size, data);
+               ret = __i2c_smbus_xfer(parent, addr, flags,
+                                      read_write, command, size, data);
        if (muxc->deselect)
                muxc->deselect(muxc, priv->chan_id);