Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2018 16:01:52 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341695 - head/sys/dev/acpi_support
Message-ID:  <201812071601.wB7G1qwZ058451@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812071601.wB7G1qwZ058451>