commit | 688ec344a62e85f221d7a310a1209cf9b1209fd3 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Mar 27 11:15:56 2012 +0800 |
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Mon Apr 09 16:18:15 2012 +0000 |
tree | 7093b267778de07c518988d5b70a1f77294e3fce | |
parent | 79d3c41ae444fb064cc8aab7cb249f577d6e0aae [diff] |
video: pxa3xx-gcu: Simplify the logic to exit while loop in pxa3xx_gcu_wait_idle If wait_event_interruptible_timeout returns a positive value, it means the condition evaluated is true. Which means priv->shared->hw_running is false. And then we will exit the loop. This patch simplifies the logic to exit the while loop. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>