i2c: piix4: Fully initialize SB800 before it is registered
authorJean Delvare <jdelvare@suse.de>
Mon, 25 Jan 2016 11:17:07 +0000 (12:17 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 26 Jan 2016 05:46:33 +0000 (06:46 +0100)
commit83c60158ebf16417af28b338bc0380cf17f2b9f9
treeb423fce0514240f58a7aae94ee0b7b7287ac4b36
parenta28e35171cb1ff84197e8d271b65aaeb8c404827
i2c: piix4: Fully initialize SB800 before it is registered

This closes a race window where I2C device drivers attempt to access
I2C buses which aren't fully initialized yet.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Tested-by: Christian Fetzer <fetzer.ch@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-piix4.c