diff options
author | Hanna Hawa <hhhawa@amazon.com> | 2022-12-19 17:23:45 +0000 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-01-09 13:03:46 +0100 |
commit | f2e1fa99550dd7a882229e2c2cd9ecab4ce773d0 (patch) | |
tree | a034a6e9339b185d6743ba3747c55b1feac2ba3f /drivers/usb | |
parent | 816e7fae8da1e53937983be62e420cde290ed5d8 (diff) |
i2c: designware: fix i2c_dw_clk_rate() return size to be u32
Make i2c_dw_clk_rate() to return u32 instead of unsigned long, as the
function return the value of get_clk_rate_khz() which returns u32.
Fixes: b33af11de236 ("i2c: designware: Do not require clock when SSCN and FFCN are provided")
Signed-off-by: Hanna Hawa <hhhawa@amazon.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions