Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3005262imm; Sun, 1 Jul 2018 10:07:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJNwYJNyPkHppZrkT2Y1aCA3svPK93p9CmUPSTVebFVWIkCLHruqyCGenp+CRwtfM/Co+yv X-Received: by 2002:a17:902:e3:: with SMTP id a90-v6mr23183757pla.227.1530464878389; Sun, 01 Jul 2018 10:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530464878; cv=none; d=google.com; s=arc-20160816; b=Dd4KUGB+qd6J1hHqvS/5j9C7S+6Dlu8HCchDrKwy4jd1KuyLpF04W5D9ZclP/eVW2z iqEozZXCzRM9UWfmGwwcy38fvRyW2hFoE9i9jbg6XgjVMl/r431+aEiDS+kT4j4zP67M hTse3n2IbC5XkuhFXDOk0+QLiHYfXX/FQlxNYAYOAYmzZYZsApBrQVto0NqAEt+Z1knY wy0bbKimB0qnRlGIPGboFGs8D8gnCAkoHc0yH2m7F6HfiUgjYcnpah4zs9Bk6TEdHg2u OW9X2d4hHegYWW0jB4pfwihfKBs7zsNvpsk/pxiNUowQC6BJcU/ZTNRVxtPgOoBX0YLp nopw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=pxQW6IKrjlU7hCRcR1vYqqoIWDW3uddF1yuBOk8aQxY=; b=ib9pnucmxvLQpwDup57xitcQTvfdrFFAuh6ba2hc46ZSrJJIuKyNtn8z12Q4Yh3ksL DbKJY2rhnTWRmzCNc0ckdHCplZI5obvGBAFSLH860K3cM98cOi6J8o0Sb8KFgEczUt8A pVVLK5FPvHN0r1eCHZ/d/W4l6jRwHtWga4QJbP3ww3XkOD528P+5WTk9KbEzr7aGJ6ZX amy7VYTDAeHXaRQvExQIhvZ6B8JUqQxCO4/ZYfpXINGJ8sfsiTyCO5H0ruBg8IZSy0mn cEPTjkLbE2tueGvb1zt9NDoiVmxko7sOh63a86+tyrH/s3O9A2MQOhxUilfYxYSCAgcg l0kQ== ARC-Authentication-Results: i=1; mx.google.com; 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 g16-v6si10116164pgv.78.2018.07.01.10.07.43; Sun, 01 Jul 2018 10:07:58 -0700 (PDT) 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; 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 S933919AbeGARG7 (ORCPT + 99 others); Sun, 1 Jul 2018 13:06:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37536 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031607AbeGAQmH (ORCPT ); Sun, 1 Jul 2018 12:42:07 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A554BAA6; Sun, 1 Jul 2018 16:42:06 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Simon Guinot , Linus Walleij , Paul Burton , Ralf Baechle , Wolfram Sang , linux-mips@linux-mips.org, James Hogan Subject: [PATCH 4.17 122/220] MIPS: pb44: Fix i2c-gpio GPIO descriptor table Date: Sun, 1 Jul 2018 18:22:26 +0200 Message-Id: <20180701160913.445786757@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701160908.272447118@linuxfoundation.org> References: <20180701160908.272447118@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Linus Walleij commit 326345f995a83e326fa2e01d54bfa9a6a307bd4d upstream. I used bad names in my clumsiness when rewriting many board files to use GPIO descriptors instead of platform data. A few had the platform_device ID set to -1 which would indeed give the device name "i2c-gpio". But several had it set to >=0 which gives the names "i2c-gpio.0", "i2c-gpio.1" ... Fix the one affected board in the MIPS tree. Sorry. Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors") Reported-by: Simon Guinot Signed-off-by: Linus Walleij Reviewed-by: Paul Burton Cc: Ralf Baechle Cc: Wolfram Sang Cc: Simon Guinot Cc: linux-mips@linux-mips.org Cc: # 4.15+ Patchwork: https://patchwork.linux-mips.org/patch/19387/ Signed-off-by: James Hogan Signed-off-by: Greg Kroah-Hartman --- arch/mips/ath79/mach-pb44.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/ath79/mach-pb44.c +++ b/arch/mips/ath79/mach-pb44.c @@ -34,7 +34,7 @@ #define PB44_KEYS_DEBOUNCE_INTERVAL (3 * PB44_KEYS_POLL_INTERVAL) static struct gpiod_lookup_table pb44_i2c_gpiod_table = { - .dev_id = "i2c-gpio", + .dev_id = "i2c-gpio.0", .table = { GPIO_LOOKUP_IDX("ath79-gpio", PB44_GPIO_I2C_SDA, NULL, 0, GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),