[PATCH 15/20] regmap-i2c: Add smbus i2c block support

Mark Brown broonie at kernel.org
Wed Aug 12 04:59:37 PDT 2015


On Wed, Aug 12, 2015 at 12:12:40PM +0200, Markus Pargmann wrote:

> +	if (count < 1 || count >= I2C_SMBUS_BLOCK_MAX)
> +		return -EINVAL;

Elsewhere you added returns of -E2BIG if the transfer was too big, why
not do that here as well?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150812/ccefdfa7/attachment.sig>


More information about the linux-arm-kernel mailing list