Skip to content
Commit f2e1fa99 authored by Hanna Hawa's avatar Hanna Hawa Committed by Wolfram Sang
Browse files

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: b33af11d ("i2c: designware: Do not require clock when SSCN and FFCN are provided")
Signed-off-by: default avatarHanna Hawa <hhhawa@amazon.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 816e7fae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment