Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbdFSQKe (ORCPT ); Mon, 19 Jun 2017 12:10:34 -0400 Received: from smtprelay.synopsys.com ([198.182.60.111]:52567 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbdFSQKc (ORCPT ); Mon, 19 Jun 2017 12:10:32 -0400 Subject: Re: [PATCH v11 5/6] i2c: designware: add SLAVE mode functions To: Andy Shevchenko , Wolfram Sang CC: Luis Oliveira , Rob Herring , Mark Rutland , Jarkko Nikula , Andy Shevchenko , Mika Westerberg , linux-i2c , devicetree , "linux-kernel@vger.kernel.org" , Ramiro Oliveira , Joao Pinto , References: <6e332d71-1891-21aa-4479-b91a7550f8af@synopsys.com> <20170619155858.xjs5nvdkg42b73vg@ninjato> From: Luis Oliveira Message-ID: <160b4109-723a-3871-382c-79480f606659@synopsys.com> Date: Mon, 19 Jun 2017 17:10:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.25.57] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1203 Lines: 32 On 19-Jun-17 17:05, Andy Shevchenko wrote: > On Mon, Jun 19, 2017 at 6:58 PM, Wolfram Sang wrote: >>> Believe me I've looked for mistakes like this but I've read the code so many >>> times I don't think I can see the obvious anymore. >> >> Yes, I know this. And you worked hard on this slave feature, >> acknowledged. >> >> Patches 1-4 look good to me from what I glimpsed. I largely trust here >> the *much* appreciated review from Jarkko and Andy. Thanks a lot, guys! >> >> I wonder if we haven't reached a state where Luis just could fix the >> buildbot error (missing 'select I2C_SLAVE') and the thing pointed out by >> Andy and we handle further small fixes incrementally during the v4.13 >> cycle? AFAICS there is no major show-stopper, or am I wrong? > > I would go with the following plan: > 1. Push 1-4 > 2. Resend 5-6 with addressed pointed issues for one more (fast) round > For the Kbuild error I fixed it by changing ifneq ($(CONFIG_I2C_DESIGNWARE_SLAVE),n) i2c-designware-core-objs += i2c-designware-slave.o to: ifeq ($(CONFIG_I2C_DESIGNWARE_SLAVE),y) i2c-designware-core-objs += i2c-designware-slave.o I have test it with the .config provided and it works now.