Re: [PATCH v1] I2C Designware Core Supports SMBUS BLOCK

From: Jarkko Nikula
Date: Tue Oct 25 2016 - 03:58:26 EST


Hi

On 10/25/2016 07:35 AM, tnhuynh@xxxxxxx 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