From patchwork Mon Mar 11 11:22:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 1054373 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44HwgJ3JM4z9s47 for ; Mon, 11 Mar 2019 22:22:20 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727250AbfCKLWT (ORCPT ); Mon, 11 Mar 2019 07:22:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41086 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727239AbfCKLWT (ORCPT ); Mon, 11 Mar 2019 07:22:19 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F3B1B307DAAD; Mon, 11 Mar 2019 11:22:18 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-117-37.ams2.redhat.com [10.36.117.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4728A5C579; Mon, 11 Mar 2019 11:22:17 +0000 (UTC) From: Hans de Goede To: Jarkko Nikula , Wolfram Sang , Andy Shevchenko , Mika Westerberg , Lee Jones Cc: Hans de Goede , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] intel-lpss-pci-i2c: Fix oops when there is no ACPI fwnode Date: Mon, 11 Mar 2019 12:22:14 +0100 Message-Id: <20190311112216.31391-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Mon, 11 Mar 2019 11:22:19 +0000 (UTC) Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hi All, Here is a patch series fixing an oops when there is no ACPI fwnode associated with a PCI enumerated LPSS I2C controller: https://bugzilla.redhat.com/show_bug.cgi?id=1687065 This is fixed by the first patch in this series, which modifies i2c-designware-platdrv.c to fix this. The fix is enabled conditionally because otherwise it might break things on platforms where i2c-designware controllers are enumerated through e.g. devicetree. The second patch modifies intel-lpss-pci.c to pass the new "linux,use-dynamic-adapter-nr" devicetree property to activate the fix. The first patch should be merged first, so that the devicetree prop name is "stable", then the second patch can be merged independently through the mfd tree. Regards, Hans