Home
last modified time | relevance | path

Searched hist:"2 fa7482aee969ff3143b606d6f762bf9315bb594" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Drockchip_dw_mmc.c2fa7482aee969ff3143b606d6f762bf9315bb594 Thu Sep 23 01:42:34 UTC 2021 Jason Zhu <jason.zhu@rock-chips.com> mmc: dw_mmc: return 0 if get mmc clock fail

Since the function return value is uint. If return a negative number,
it will be converted to a large number. Then the mmc device will use
the large number to set its clock, this will make mistake.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ibaa42a0958d5169533603432818820e50c332f37