video: omap: add loop exit conditions to the dpll setup
authorDario Binacchi <dariobin@libero.it>
Sat, 22 Feb 2020 13:05:43 +0000 (14:05 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 3 Mar 2020 07:38:14 +0000 (13:08 +0530)
commit9d7f53c1e50f0c32a62d5ab76b47f34791b571f3
tree874f9cafbced4767887ce64822e3863b6160e6cf
parent9aead9ae09416f4c54dfb7a4a076dd2147561ba3
video: omap: add loop exit conditions to the dpll setup

In case of null error, round rate is equal to target rate, so it is
useless to continue to search the DPLL setup parameters to get the
desidered pixel clock rate.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/video/am335x-fb.c