From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH v1] I2C Designware Core Supports SMBUS BLOCK Date: Wed, 26 Oct 2016 11:16:00 +0300 Message-ID: <20161026081600.GM1476@lahna.fi.intel.com> References: <1477370113-15145-1-git-send-email-tnhuynh@apm.com> <20161025115025.GI1476@lahna.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga11.intel.com ([192.55.52.93]:50844 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752254AbcJZIU1 (ORCPT ); Wed, 26 Oct 2016 04:20:27 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-i2c-owner@vger.kernel.org List-Id: linux-i2c@vger.kernel.org To: Tin Huynh Cc: Jarkko Nikula , Andy Shevchenko , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Loc Ho , Thang Nguyen , Phong Vo , patches On Wed, Oct 26, 2016 at 02:26:05PM +0700, Tin Huynh wrote: > But can you explain more about 'but even that starts to require small > helper function'? So you could add a small function i2c_dw_xfer_need_stop() that returns true if you need to set the stop bit.