]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: video: mipi: Fix phy frequency setting
authorRichard Röjfors <richard.rojfors@gmail.com>
Wed, 14 Nov 2018 13:13:53 +0000 (14:13 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 30 Nov 2018 18:03:16 +0000 (19:03 +0100)
commit7254b674226e0f0b8b543ee35221e29567d1ea0a
tree152e78d6366a7d373b43752760922eff8b9c27fa
parent3a72a6b3ac5ddc86bfa5b47465fe01bb01a8da0a
rockchip: video: mipi: Fix phy frequency setting

There was an incorrect check when looping and finding the first
fast enough frequency in the freq_rang table. The code did
actually return the first that was either exactly correct or
too slow.

Signed-off-by: Richard Röjfors <richard@puffinpack.se>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/video/rockchip/rk_mipi.c