diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-01-23 06:54:04 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-01-23 09:38:13 -0500 |
commit | c99d49a964c700ad0bab5c54e2f559fce0487fad (patch) | |
tree | e5087faca906fec8ca3904b4124963fbe4a4f1e6 | |
parent | bd1179fd5626f84d0ba177fdfb2e2bb1ced4c996 (diff) |
i2c: designware-pci: no need to provide clk_khz
The clk_khz field makes sense only if SS counters are not provided. Since we
provide them for Haswell and Baytrail explicitly we may omit the clk_khz
parameter.
Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/i2c/busses/i2c-designware-pcidrv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 5c6fca70fb76..87f51f50985d 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c | |||
@@ -145,7 +145,6 @@ static struct dw_pci_controller dw_pci_controllers[] = { | |||
145 | .bus_cfg = INTEL_MID_STD_CFG | DW_IC_CON_SPEED_FAST, | 145 | .bus_cfg = INTEL_MID_STD_CFG | DW_IC_CON_SPEED_FAST, |
146 | .tx_fifo_depth = 32, | 146 | .tx_fifo_depth = 32, |
147 | .rx_fifo_depth = 32, | 147 | .rx_fifo_depth = 32, |
148 | .clk_khz = 100000, | ||
149 | .functionality = I2C_FUNC_10BIT_ADDR, | 148 | .functionality = I2C_FUNC_10BIT_ADDR, |
150 | .scl_sda_cfg = &byt_config, | 149 | .scl_sda_cfg = &byt_config, |
151 | }, | 150 | }, |
@@ -154,7 +153,6 @@ static struct dw_pci_controller dw_pci_controllers[] = { | |||
154 | .bus_cfg = INTEL_MID_STD_CFG | DW_IC_CON_SPEED_FAST, | 153 | .bus_cfg = INTEL_MID_STD_CFG | DW_IC_CON_SPEED_FAST, |
155 | .tx_fifo_depth = 32, | 154 | .tx_fifo_depth = 32, |
156 | .rx_fifo_depth = 32, | 155 | .rx_fifo_depth = 32, |
157 | .clk_khz = 100000, | ||
158 | .functionality = I2C_FUNC_10BIT_ADDR, | 156 | .functionality = I2C_FUNC_10BIT_ADDR, |
159 | .scl_sda_cfg = &hsw_config, | 157 | .scl_sda_cfg = &hsw_config, |
160 | }, | 158 | }, |