On Wed, Apr 17, 2019 at 10:44 PM Jerome Brunet <jbrunet@xxxxxxxxxxxx> wrote: > > There is already a function available to poll a register until a > condition is met. Let's use it instead of open coding it. > > Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx> Reviewed-by: Martin Blumenstingl<martin.blumenstingl@xxxxxxxxxxxxxx> and on my Khadas VIM with patches 1-4 from this series applied: Tested-by: Martin Blumenstingl<martin.blumenstingl@xxxxxxxxxxxxxx>