Skip to content
Snippets Groups Projects
Commit 6e7d3b6b authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Guenter Roeck
Browse files

hwmon: (adt7410) Clear unwanted bits in the config register


Make sure to clear the mode bits from the config register before setting the new
mode. Otherwise we might end up with a different mode than we want to.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Reviewed-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent d4768280
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment