Skip to content

Commit 1071d1a

Browse files
committed
Revert "i2c: designware-pci: Add support for Fast Mode Plus and High Speed Mode"
This reverts commit e857854. Drivers should read these values from ACPI tables. Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 606974c commit 1071d1a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/i2c/busses/i2c-designware-pcidrv.c

-8
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,8 @@ enum dw_pci_ctl_id_t {
4141
struct dw_scl_sda_cfg {
4242
u32 ss_hcnt;
4343
u32 fs_hcnt;
44-
u32 fp_hcnt;
45-
u32 hs_hcnt;
4644
u32 ss_lcnt;
4745
u32 fs_lcnt;
48-
u32 fp_lcnt;
49-
u32 hs_lcnt;
5046
u32 sda_hold;
5147
};
5248

@@ -310,12 +306,8 @@ static int i2c_dw_pci_probe(struct pci_dev *pdev,
310306
cfg = controller->scl_sda_cfg;
311307
dev->ss_hcnt = cfg->ss_hcnt;
312308
dev->fs_hcnt = cfg->fs_hcnt;
313-
dev->fp_hcnt = cfg->fp_hcnt;
314-
dev->hs_hcnt = cfg->hs_hcnt;
315309
dev->ss_lcnt = cfg->ss_lcnt;
316310
dev->fs_lcnt = cfg->fs_lcnt;
317-
dev->fp_lcnt = cfg->fp_lcnt;
318-
dev->hs_lcnt = cfg->hs_lcnt;
319311
dev->sda_hold_time = cfg->sda_hold;
320312
}
321313

0 commit comments

Comments
 (0)