]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 7 Mar 2022 15:36:36 +0000 (16:36 +0100)
commit3f7226b43de27ea6dc321beee1e21debd208dbad
treefb88db71a24cd786de5c15b9bdc1b26ea3360ded
parent406e90ca6229de69a109745daa6ca858cae79c9e
i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters

BugLink: https://bugs.launchpad.net/bugs/1960566
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/i2c/busses/i2c-designware-pcidrv.c