summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@kernel.org>2021-11-30 22:32:47 +0100
committerWolfram Sang <wsa@kernel.org>2021-11-30 22:32:47 +0100
commit1071d1ad31503cd45fabcdb5bfa778508f68f3a0 (patch)
tree2077fb45b45f60641c2f10108bc9230cff9a997c /drivers/i2c
parent606974c7aceb24d25870b0d58bad1adbba2f3158 (diff)
Revert "i2c: designware-pci: Add support for Fast Mode Plus and High Speed Mode"
This reverts commit e8578547ce59ddba3651ac0e68dbcb6daa8ce790. Drivers should read these values from ACPI tables. Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-designware-pcidrv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
index 174938fc7a7e..0f409a4c2da0 100644
--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
@@ -41,12 +41,8 @@ enum dw_pci_ctl_id_t {
struct dw_scl_sda_cfg {
u32 ss_hcnt;
u32 fs_hcnt;
- u32 fp_hcnt;
- u32 hs_hcnt;
u32 ss_lcnt;
u32 fs_lcnt;
- u32 fp_lcnt;
- u32 hs_lcnt;
u32 sda_hold;
};
@@ -310,12 +306,8 @@ static int i2c_dw_pci_probe(struct pci_dev *pdev,
cfg = controller->scl_sda_cfg;
dev->ss_hcnt = cfg->ss_hcnt;
dev->fs_hcnt = cfg->fs_hcnt;
- dev->fp_hcnt = cfg->fp_hcnt;
- dev->hs_hcnt = cfg->hs_hcnt;
dev->ss_lcnt = cfg->ss_lcnt;
dev->fs_lcnt = cfg->fs_lcnt;
- dev->fp_lcnt = cfg->fp_lcnt;
- dev->hs_lcnt = cfg->hs_lcnt;
dev->sda_hold_time = cfg->sda_hold;
}