From: "Chew, Chiau Ee" <[email protected]>

Declare host controller supports 10-bit addressing mode
functionality.

Signed-off-by: Chew, Chiau Ee <[email protected]>
Signed-off-by: Maurice Petallo <[email protected]>
---
 drivers/i2c/busses/i2c-designware-pcidrv.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c 
b/drivers/i2c/busses/i2c-designware-pcidrv.c
index afd8ae0..3599a6b 100644
--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
@@ -310,6 +310,7 @@ static int i2c_dw_pci_probe(struct pci_dev *pdev,
        dev->dev = &pdev->dev;
        dev->functionality =
                I2C_FUNC_I2C |
+               I2C_FUNC_10BIT_ADDR |
                I2C_FUNC_SMBUS_BYTE |
                I2C_FUNC_SMBUS_BYTE_DATA |
                I2C_FUNC_SMBUS_WORD_DATA |
-- 
1.7.10.4

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to