Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp932345ybi; Wed, 19 Jun 2019 10:18:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiKWQrozBq+gFBTwIiq94ZiMEbNCyJer4wFeHGZ9lHo6/MQgz/k5cs1KUHaVCqYcKVbIgD X-Received: by 2002:a17:902:848c:: with SMTP id c12mr118506870plo.17.1560964712076; Wed, 19 Jun 2019 10:18:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560964712; cv=none; d=google.com; s=arc-20160816; b=yWM/SmFjfT1HegIr1yZRHKKPpLmIf4AMhM9tDcjYvzr0txG3KvOR7umeGSV3ANupGM CaHeSV5oQrqrIus9uo+BGry0+szWzGUsFAdFwcNI/OKiKKfWwVhH1J0JAcoShCZZ3V12 lnKqTGLKCXWJpRzN3LAxc/PM2j5fUa7+MPbw5qnuFkkRXUlvsXyfrDuaOdgA0d+ZSu7o ftvEh0UcH5cv3r1RKH+il0AW2pBJpjXNBh3Ab65yBDTbYhFQqAvmAIKpGUnwCHi63CkG zhgFngU0nfXZ9ZERTGioMBEJA0GDPl6Q3kOE97CXm1X7BTGZ+QMY+wgTeiwjVfc3TP66 cAaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Q+nTYFvvd9cweTRgDq6yrNPFXRIfPS+IxSW+Ab0woOs=; b=Caz5+FzCimDMHz9AV8IXI/7UyPYOFqDidNwDXV9jJlyLFoTSABGRxbt2PePGaQJAFu p1aTbsRx69ctmZudpJOKfzrcxKv+fqQg46+8VszQSLrbzTzkbVxCLQmcxp7hj4QVGFDd mNO0LcS0sKdTQ7AEn9Wy3DtyEIPHZgJlmDFXaWhASDUFPqwLDATfhSLpwJNhPDELFTis VyTn0kZbJoOxQF9A1+Th5wHRR7EL/QvsjHS7UeJnxagylVzQOI5Dv5KL+KJ9dH46sSnX YmObOUdHHFV46au0gyXiYPdML9ykFOKUGUlmFyExylsok1Sz7r4+61EU54Lxa03w5kcr pegw== 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 p5si15536910plq.198.2019.06.19.10.18.15; Wed, 19 Jun 2019 10:18:32 -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 S1727085AbfFSRSL (ORCPT + 99 others); Wed, 19 Jun 2019 13:18:11 -0400 Received: from sauhun.de ([88.99.104.3]:60004 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbfFSRSL (ORCPT ); Wed, 19 Jun 2019 13:18:11 -0400 Received: from localhost (p5486CF02.dip0.t-ipconnect.de [84.134.207.2]) by pokefinder.org (Postfix) with ESMTPSA id 553832C353A; Wed, 19 Jun 2019 19:18:09 +0200 (CEST) From: Wolfram Sang To: linux-kernel@vger.kernel.org Cc: Lee Jones , linux-renesas-soc@vger.kernel.org, Wolfram Sang , Peter Rosin , Bartosz Golaszewski , Kieran Bingham Subject: [PATCH] mfd: da9063: occupy second I2C address, too Date: Wed, 19 Jun 2019 19:18:06 +0200 Message-Id: <20190619171806.30116-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Even though we don't use it yet, we should mark the second I2C address this device is listening to as used. Signed-off-by: Wolfram Sang Reviewed-by: Peter Rosin Reviewed-by: Bartosz Golaszewski Reviewed-by: Kieran Bingham --- drivers/mfd/da9063-i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/da9063-i2c.c b/drivers/mfd/da9063-i2c.c index 455de74c0dd2..2133b09f6e7a 100644 --- a/drivers/mfd/da9063-i2c.c +++ b/drivers/mfd/da9063-i2c.c @@ -221,6 +221,8 @@ static int da9063_i2c_probe(struct i2c_client *i2c, return ret; } + devm_i2c_new_dummy_device(&i2c->dev, i2c->adapter, i2c->addr + 1); + return da9063_device_init(da9063, i2c->irq); } -- 2.20.1