commit | 24d12ecfbee2a9e4e34922155135abb98cf697b1 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Sat Aug 01 02:48:03 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:30 2015 +0200 |
tree | abcdf2059f73479d535a4c53689bd50b0425ba2a | |
parent | 8948a4f1af689fbe6655e72ba531a449a358353c [diff] |
arm: socfpga: scan: Clean up scan_chain_engine_is_idle() Rework this function so it's clear that it is only polling for certain bits to be cleared. Add kerneldoc. Fix it's return value to be either 0 on success and -ETIMEDOUT on error and propagate this through the scan manager code. Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>