Skip to content
Commit 0e1929de authored by Mike Looijmans's avatar Mike Looijmans Committed by Wolfram Sang
Browse files

i2c: i2c-cadence: Initialize configuration before probing devices



The cadence I2C driver calls cdns_i2c_writereg(..) to setup a workaround
in the controller, but did so after calling i2c_add_adapter() which starts
probing devices on the bus. Change the order so that the configuration is
completely finished before using the adapter.

Signed-off-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 7a308bb3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment