Home
last modified time | relevance | path

Searched hist:"0 ec0c5864365f3f222e1652aca98cfbd86bae890" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/i2c/
H A Di2c-cdns.c0ec0c5864365f3f222e1652aca98cfbd86bae890 Mon Jan 16 17:50:45 UTC 2017 Moritz Fischer <moritz.fischer@ettus.com> i2c: i2c-cdns: Reorder timeout loop for interrupt waiting

Reorder the timeout loop such that we first check if the
condition is already true, and then call udelay() so if
the condition is already true, break early.

Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: u-boot@lists.denx.de