Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: qup: use proper type fro clk_freq

It is used with of_property_read_u32(), so it should be u32.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Fixes: 10c5a8425968 ('i2c: qup: New bus driver for the Qualcomm QUP I2C controller')

+1 -1
+1 -1
drivers/i2c/busses/i2c-qup.c
··· 562 562 u32 io_mode, hw_ver, size; 563 563 int ret, fs_div, hs_div; 564 564 int src_clk_freq; 565 - int clk_freq = 100000; 565 + u32 clk_freq = 100000; 566 566 567 567 qup = devm_kzalloc(&pdev->dev, sizeof(*qup), GFP_KERNEL); 568 568 if (!qup)