mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
[ Upstream commit d520970100 ]
The data type of hcnt and lcnt in the struct dw_i2c_dev is of type u16.
It's better to have same data type in struct dw_scl_sda_cfg as well.
Reported-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f09f7ccb28
commit
da7df943e2
|
|
@ -37,10 +37,10 @@ enum dw_pci_ctl_id_t {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dw_scl_sda_cfg {
|
struct dw_scl_sda_cfg {
|
||||||
u32 ss_hcnt;
|
u16 ss_hcnt;
|
||||||
u32 fs_hcnt;
|
u16 fs_hcnt;
|
||||||
u32 ss_lcnt;
|
u16 ss_lcnt;
|
||||||
u32 fs_lcnt;
|
u16 fs_lcnt;
|
||||||
u32 sda_hold;
|
u32 sda_hold;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user