diff options
author | 2023-11-21 13:46:47 +0200 | |
---|---|---|
committer | 2023-11-21 15:31:40 +0100 | |
commit | 4b435764f7c2922822962e7f6343cce645d502f1 (patch) | |
tree | 81e742204028cbcbdb5e90fd8afcf60ad8fdf4df /scripts/generate_rust_analyzer.py | |
parent | usb: xhci-mtk: fix in-ep's start-split check failure (diff) | |
download | linux-rng-4b435764f7c2922822962e7f6343cce645d502f1.tar.xz linux-rng-4b435764f7c2922822962e7f6343cce645d502f1.zip |
usb: typec: tipd: Supply also I2C driver data
If there is no fwnode, device_get_match_data() does not
return anything making the probe to always fail. Using
i2c_get_match_data() when there is no fwnode to fix that.
Fixes: 5bd4853da049 ("USB: typec: tps6598x: Add device data to of_device_id")
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20231121114647.2005011-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions