Re: [PATCH v2] HID: cp2112: add I2C mode

From: Jiri Kosina
Date: Tue Jul 29 2014 - 05:38:30 EST


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 <borneo.antonio@xxxxxxxxx>
> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/