]> git.sur5r.net Git - groeck-it87/commit
Disable SMBus access while accessing Enviromnental Controller registers
authorGuenter Roeck <linux@roeck-us.net>
Sat, 30 Sep 2017 04:52:09 +0000 (21:52 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 30 Sep 2017 16:23:47 +0000 (09:23 -0700)
commit78afa4ee1a02b2d56e81b470a7c0d900e996e43e
tree08c832222eb908ec0d72df49a5eb8a31f3b3b31f
parent4d29188e4fc9066866304259f6584caa4d3dcea1
Disable SMBus access while accessing Enviromnental Controller registers

Some chips support Environmental Controller access through SMBus.
On those chips, it is possible that an Embedded Controller accesses
Environmental Controller chip registers at any time. There is no real
means for synchronization. On banked chips, this can and will result in
access errors with unpredictable result.

Disable SMBus access while reading or writing environmental controller
registers to work around the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c