[ig4] On SkyLake controllers issue reset on attach unconditionally.

It is very helpful during debugging of I2C issues.
It is done only for SkyLakes due to lack of testing on other hardware.
This commit is contained in:
wulf 2019-11-03 21:10:47 +00:00
parent c44f76cb88
commit 7eb08c1ab6

View File

@ -995,7 +995,7 @@ ig4iic_attach(ig4iic_softc_t *sc)
ig4iic_get_config(sc);
error = ig4iic_set_config(sc, false);
error = ig4iic_set_config(sc, sc->version == IG4_SKYLAKE);
if (error)
goto done;