Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248AbaG2Ji2 (ORCPT ); Tue, 29 Jul 2014 05:38:28 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40442 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752557AbaG2Ji1 (ORCPT ); Tue, 29 Jul 2014 05:38:27 -0400 Date: Tue, 29 Jul 2014 11:38:24 +0200 (CEST) From: Jiri Kosina To: Antonio Borneo cc: linux-input@vger.kernel.org, David Barksdale , linux-kernel@vger.kernel.org, Benjamin Tissoires Subject: Re: [PATCH v2] HID: cp2112: add I2C mode In-Reply-To: <1404775539-10727-1-git-send-email-borneo.antonio@gmail.com> Message-ID: References: <1404775539-10727-1-git-send-email-borneo.antonio@gmail.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Jul 2014, Antonio Borneo wrote: > cp2112 supports single I2C read/write transactions. > It can't combine I2C transactions. > > Add master_xfer, using similar code flow as for smbus_xfer. > > Signed-off-by: Antonio Borneo > Reviewed-by: Benjamin Tissoires > --- > ChangeLog v1->v2: > - In cp2112_i2c_xfer() set variable "ret" directly with the > expected return value: either an error number or the number > of transferred messages. Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/