svn commit: r186031 - head/sys/dev/acpica

Mike Silbersack silby at FreeBSD.org
Sat Dec 13 07:45:49 UTC 2008


Author: silby
Date: Sat Dec 13 07:45:48 2008
New Revision: 186031
URL: http://svn.freebsd.org/changeset/base/186031

Log:
  Quick change to r186026.  One of the conditionals was:
  
  if (batt_sleep_ms)
  	AcpiOsSleep(1);
  
  where the rest are all:
  
  if (batt_sleep_ms)
  	AcpiOsSleep(batt_sleep_ms);
  
  I can't recall why that one was different, so change it
  to match the rest.
  
  Pointed out by:	Christoph Mallon
  MFC after:	2 weeks

Modified:
  head/sys/dev/acpica/acpi_smbat.c

Modified: head/sys/dev/acpica/acpi_smbat.c
==============================================================================
--- head/sys/dev/acpica/acpi_smbat.c	Sat Dec 13 07:23:55 2008	(r186030)
+++ head/sys/dev/acpica/acpi_smbat.c	Sat Dec 13 07:45:48 2008	(r186031)
@@ -332,7 +332,7 @@ acpi_smbus_read_multi_1(struct acpi_smba
 
 		ptr[len] = val;
 		if (batt_sleep_ms)
-		    AcpiOsSleep(1);
+		    AcpiOsSleep(batt_sleep_ms);
 	}
 
 out:


More information about the svn-src-head mailing list