svn commit: r341695 - head/sys/dev/acpi_support

Andriy Gapon avg at FreeBSD.org
Fri Dec 7 16:01:52 UTC 2018


Author: avg
Date: Fri Dec  7 16:01:51 2018
New Revision: 341695
URL: https://svnweb.freebsd.org/changeset/base/341695

Log:
  aibs: fix a typo in the probe method that was introduced in r339754
  
  Because of that typo the driver would try to attach to every device
  on acpi bus.  That disrupted acpi attachment of uart driver, at least.
  
  MFC after:	4 days
  X-MFC with:	r339754

Modified:
  head/sys/dev/acpi_support/atk0110.c

Modified: head/sys/dev/acpi_support/atk0110.c
==============================================================================
--- head/sys/dev/acpi_support/atk0110.c	Fri Dec  7 15:56:40 2018	(r341694)
+++ head/sys/dev/acpi_support/atk0110.c	Fri Dec  7 16:01:51 2018	(r341695)
@@ -129,7 +129,7 @@ aibs_probe(device_t dev)
 	rv = ACPI_ID_PROBE(device_get_parent(dev), dev, aibs_hids, NULL);
 	if (rv <= 0 )
 		device_set_desc(dev, "ASUSTeK AI Booster (ACPI ASOC ATK0110)");
-	return (0);
+	return (rv);
 }
 
 static int


More information about the svn-src-head mailing list