All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] hwmon: (it87) Drop uart6 condition for vin5&vin6 for IT8783F
@ 2012-05-15 17:25 Björn Gerhart
  2012-05-15 18:21 ` Jean Delvare
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Björn Gerhart @ 2012-05-15 17:25 UTC (permalink / raw)
  To: lm-sensors

From: Bjoern Gerhart <oss@extracloud.de>

Drop UART6 condition for IT8783F related to VIN5 and VIN6.
In case UART6 is routed via JP4 to a different set of pins,
VIN5 and VIN6 can be used at the same time.

diff -Naur a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
--- a/drivers/hwmon/it87.c	2012-05-15 16:53:07.156061059 +0200
+++ b/drivers/hwmon/it87.c	2012-05-15 17:19:31.717061875 +0200
@@ -1806,11 +1806,11 @@
 			sio_data->skip_pwm |= (1 << 1);
 
 		/* VIN5 */
-		if ((reg27 & (1 << 0)) || uart6)
+		if (reg27 & (1 << 0))
 			sio_data->skip_in |= (1 << 5); /* No VIN5 */
 
 		/* VIN6 */
-		if ((reg27 & (1 << 1)) || uart6)
+		if (reg27 & (1 << 1))
 			sio_data->skip_in |= (1 << 6); /* No VIN6 */
 
 		/*



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-05-16 17:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 17:25 [lm-sensors] [PATCH] hwmon: (it87) Drop uart6 condition for vin5&vin6 for IT8783F Björn Gerhart
2012-05-15 18:21 ` Jean Delvare
2012-05-15 18:49 ` Björn Gerhart
2012-05-15 18:51 ` Guenter Roeck
2012-05-15 19:51 ` Guenter Roeck
2012-05-16  6:52 ` Jean Delvare
2012-05-16  9:23 ` Jean Delvare
2012-05-16 13:41 ` Guenter Roeck
2012-05-16 17:07 ` Björn Gerhart
2012-05-16 17:41 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.