Skip to content
Commit ec1ae253 authored by Andrzej Głąbek's avatar Andrzej Głąbek Committed by Kumar Gala
Browse files

drivers: i2c_tca954x: Fix transfer function



This is a follow-up to commit e1c0a494.

The `tca954x_transfer()` function cannot call `i2c_transfer_dt()`,
because the I2C device address used in the transaction must be the one
passed as the `addr` parameter, not the address of the TCA954xA switch
itself. Hence, this commit restores the call to `i2c_transfer()`.

Signed-off-by: default avatarAndrzej Głąbek <andrzej.glabek@nordicsemi.no>
parent fe716dbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment