Skip to content

Commit fd4b204

Browse files
jhnikulaWolfram Sang
authored andcommitted
i2c: i801: Bring back Block Process Call support for certain platforms
Commit b84398d ("i2c: i801: Use iTCO version 6 in Cannon Lake PCH and beyond") looks like to drop by accident Block Write-Block Read Process Call support for Intel Sunrisepoint, Lewisburg, Denverton and Kaby Lake. That support was added for above and newer platforms by the commit 315cd67 ("i2c: i801: Add Block Write-Block Read Process Call support") so bring it back for above platforms. Fixes: b84398d ("i2c: i801: Use iTCO version 6 in Cannon Lake PCH and beyond") Signed-off-by: Jarkko Nikula <[email protected]> Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent a71e2ac commit fd4b204

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-i801.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,6 +1736,7 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
17361736
case PCI_DEVICE_ID_INTEL_LEWISBURG_SSKU_SMBUS:
17371737
case PCI_DEVICE_ID_INTEL_DNV_SMBUS:
17381738
case PCI_DEVICE_ID_INTEL_KABYLAKE_PCH_H_SMBUS:
1739+
priv->features |= FEATURE_BLOCK_PROC;
17391740
priv->features |= FEATURE_I2C_BLOCK_READ;
17401741
priv->features |= FEATURE_IRQ;
17411742
priv->features |= FEATURE_SMBUS_PEC;

0 commit comments

Comments
 (0)