Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941495AbcJYH6X (ORCPT ); Tue, 25 Oct 2016 03:58:23 -0400 Received: from mga11.intel.com ([192.55.52.93]:52111 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194AbcJYH6V (ORCPT ); Tue, 25 Oct 2016 03:58:21 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,545,1473145200"; d="scan'208";a="893649031" Subject: Re: [PATCH v1] I2C Designware Core Supports SMBUS BLOCK To: tnhuynh@apm.com, Andy Shevchenko , Mika Westerberg , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <1477370113-15145-1-git-send-email-tnhuynh@apm.com> Cc: Loc Ho , Thang Nguyen , Phong Vo , patches@apm.com From: Jarkko Nikula Message-ID: <48a57d6a-f70f-8dbf-1192-e936f8dda4b0@linux.intel.com> Date: Tue, 25 Oct 2016 10:58:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <1477370113-15145-1-git-send-email-tnhuynh@apm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 518 Lines: 17 Hi On 10/25/2016 07:35 AM, tnhuynh@apm.com wrote: > --- a/drivers/i2c/busses/i2c-designware-platdrv.c > +++ b/drivers/i2c/busses/i2c-designware-platdrv.c > @@ -220,6 +220,7 @@ static int dw_i2c_plat_probe(struct platform_device *pdev) > I2C_FUNC_SMBUS_BYTE | > I2C_FUNC_SMBUS_BYTE_DATA | > I2C_FUNC_SMBUS_WORD_DATA | > + I2C_FUNC_SMBUS_BLOCK_DATA | > I2C_FUNC_SMBUS_I2C_BLOCK; > I guess you need to add the same to DW_DEFAULT_FUNCTIONALITY in drivers/i2c/busses/i2c-designware-pcidrv.c too. -- Jarkko