-
Jean Delvare authored
This patch cleans up and improves the VID pins value retrieval for the W83627THF chip in the w83627hf driver. Tested successfully by Mark Hoffman. The previous code was using an unrelated lock and reading register values it didn't need. The new code supports 6-bit VID values (as defined by Intel VRM 10), and also ensures that the GPIO pins are possibly used as VID inputs. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
d3b02eff