-
Don't immediately set the data role, only set it in response the negotiated value notification from the tps6589x. Otherwise data role switch fails for DRP. We only use values cached from the IRQ instead of poking I2C all the time. The update is moved in a function that will become more useful in later commits. Signed-off-by: Angus Ainslie <angus@akkea.ca> Fixes: 18a6c866 ("usb: typec: tps6598x: Add USB role switching logic")
b322fa07