i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
authorLakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
Wed, 15 Dec 2021 15:12:01 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 07:47:39 +0000 (08:47 +0100)
commit8eabbce94fd316e3d04cb60737a9fe613efabb31
treeb51ef765a81dd01e46713204578e77ddd74fe206
parent6f0bdfcd04ebd9ffc10461058a890a7a03286ca9
i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters

[ Upstream commit d52097010078c1844348dc0e467305e5f90fd317 ]

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>
drivers/i2c/busses/i2c-designware-pcidrv.c