Received: by 10.223.176.5 with SMTP id f5csp14433wra; Tue, 30 Jan 2018 07:23:06 -0800 (PST) X-Google-Smtp-Source: AH8x224mZWp0/8abt5qPLUS13/2QZgJes+UyHdWYuJEQTAru8+YxV3CG1ePVTgPvENqH8A5slVAa X-Received: by 2002:a17:902:9897:: with SMTP id s23-v6mr25129364plp.238.1517325786365; Tue, 30 Jan 2018 07:23:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517325786; cv=none; d=google.com; s=arc-20160816; b=ifVwrt8QuYWQVRtkVOMNg7zjSGsWkOTTyOiIiySGN2tzPb5xNbmxbj/w/gUtwfqy4h Wd5kRGuY2Ar5Wb38twqqXq6TkHrvHbkrjxhDJA2yXL3pW9Bz4S1I5A/nzOqL8PJeiHMz FD/Sb/oRVUSO+P1h2nIXQqqb+BCrya3ceertK3YStMpcyHc6TmFMWFhgxgOM7ff3o3H6 sseaMJbUbt3RBM3AVaGOtQ8g5BIRGD3EhtArWTJY+hnGANaX0oCY2jZaUClBOC9ySACU Vz7sxKb/oxQpvte+5SCHAYPNzw0DPEPtTmFPRI/jYG7db6yRBsrq6aiKLdE6TBgZMVXR s/vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :dkim-signature:arc-authentication-results; bh=PT60enYDU6+AmxmRrkvx/dVS9CXfu6cXbOBuM0hQSVw=; b=TG6x9XJgUnOmMCg3xtybvdOjaf8Sw8EHCuPtg+P5Q5j62xDj+V/GXrGVbeU1sJAyeU F73A7D37ufHzkLv81I0BtLhKr9kjAWFCSxamjt8NhMcq3xKc3EPfN/7fBYlFUZSR+iNl Gt0LZ9aWUwOohHLoIIRfjWaU06YBQgQlMjKGChTWmmY12/VOiHL0m2le4VJdnqEj2HwW dOnj8XF4TEVz/U6J/8GhuDUDzmbl/5WVvmWyspK7sMNahlmb+Vaz///KVsfnTdHteupz 3gfiiH/4bkfe48Gil9vnNcG+Xi8X/JwEyFO0a70AKF2BFf/NBdP6n34IVDk9fNQglYLb egpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jcline.org header.s=rdybrs3533vx7mghocfwl3vdwgpl2v5u header.b=GTVqIFC3; dkim=pass header.i=@amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=HemrZySo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u125si9480587pgc.453.2018.01.30.07.22.51; Tue, 30 Jan 2018 07:23:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@jcline.org header.s=rdybrs3533vx7mghocfwl3vdwgpl2v5u header.b=GTVqIFC3; dkim=pass header.i=@amazonses.com header.s=224i4yxa5dv7c2xz3womw6peuasteono header.b=HemrZySo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752801AbeA3PWV (ORCPT + 99 others); Tue, 30 Jan 2018 10:22:21 -0500 Received: from a8-61.smtp-out.amazonses.com ([54.240.8.61]:35560 "EHLO a8-61.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559AbeA3PWT (ORCPT ); Tue, 30 Jan 2018 10:22:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=rdybrs3533vx7mghocfwl3vdwgpl2v5u; d=jcline.org; t=1517325737; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=58rcLRRAo19W5usWDn0dLNfkfywKPBaLRXZJuqszYoI=; b=GTVqIFC3KXVRoiSCyLyuqHNn6NquuPF2O90mTfRDiLv6uDq/Q50JB/KM3NHXOfs0 tdMMyAhfQfPEAdzlHHdv7AD+IYffLSTld9sVX1XgeXJZPSYfs7TMyhFOGVhGfQIXtmo uXlXpM+oqWDojaTaMxJ9rc2R9CUj4bkMKDxKXD0g= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1517325737; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=58rcLRRAo19W5usWDn0dLNfkfywKPBaLRXZJuqszYoI=; b=HemrZySodIgBao2VWXk/G5tYaj1Iu+goSSHfRjriAEGLKNyj0Cl5jUZjCNs+DW5/ 6SUJeZ0A+JZtJWxwTC53bDffK031UhN4jPpZoeVecvangCiZzRNfNyKinnp2DWHt4bD pwlU/QGbqMM6qyhvXJrt5MDkd5q3HrvljmO2zAaU= X-Virus-Scanned: amavisd-new at jcline.org Subject: Re: [PATCH v2] iio: accel: bmc150: Check for a second ACPI device for BOSC0200 To: Jonathan Cameron Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Hans de Goede , Lars Kellogg-Stedman , Steven Presser , Mika Westerberg , Wolfram Sang , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org References: <010001602cf53153-39ad69f1-1b39-4e6d-a748-9455a16c2fbd-000000@email.amazonses.com> <20171210182152.70ad8fbf@archlinux> <01000160dccefcb4-25edfd89-56f3-486f-88a4-cb8c07253974-000000@email.amazonses.com> <20180114104330.2aa7c1fd@archlinux> <20180128094021.572ab366@archlinux> From: Jeremy Cline Message-ID: <0100016147a95d33-f8348740-cd78-4221-8612-116ef66afc66-000000@email.amazonses.com> Date: Tue, 30 Jan 2018 15:22:17 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180128094021.572ab366@archlinux> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2018.01.30-54.240.8.61 Feedback-ID: 1.us-east-1.z18Isoc/FaoPOvCyJyi1mnTt8STwoRuibXVNoUcvG6g=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/28/2018 03:40 AM, Jonathan Cameron wrote: > On Sun, 14 Jan 2018 10:43:30 +0000 > Jonathan Cameron wrote: > >> On Tue, 9 Jan 2018 21:24:01 +0000 >> Jeremy Cline wrote: >> >>> On 12/10/2017 12:21 PM, Jonathan Cameron wrote: >>>> On Wed, 6 Dec 2017 17:52:34 +0000 >>>> Jeremy Cline wrote: >>>> >>>>> Some BOSC0200 acpi_device-s describe two accelerometers in a single ACPI >>>>> device. Check for a companion device and handle a second i2c_client >>>>> if it is present. >>>>> >>>>> Signed-off-by: Jeremy Cline >>>> The requirement for this is still horrible, but you have done a nice >>>> clean job on implementing it. >>>> >>>> I'll let this sit for a few more days though before applying it. >>>> Probably next weekend if we don't get any feedback before then. >>> >>> Hey, >>> >>> I didn't see this land anywhere (I was looking in >>> git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git, maybe that's not >>> the right place?) and I just wanted to make sure this didn't get lost in >>> the holiday shuffle. >> It did indeed get lost - thanks for the reminder. Now applied to the >> togreg branch of iio.git. However, unfortunately we may be too near >> to the merge window opening for it to make it. Depends on what Linus >> says later today when rc8 comes out. > > I've added some #ifdef CONFIG_ACPI defenses against the case > of no ACPI support being compiled in. Alternative would be to add > stubs for those functions that don't have them... > > probably just acpi_device_hid. > > But that would take much longer. Feel free to propose it and a patch > removing the ifdef fun if you like! Great, thanks for handling that. I'll look at taking care of the stubs and whatnot. Regards, Jeremy