From: Srinivas Kandagatla Date: Wed, 16 Jul 2014 08:18:43 +0000 (+0100) Subject: phy: qcom-apq8064: fix possible timeout without check X-Git-Tag: cleanup-for-v3.18~123^2~11^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=175f02ebdfdf8431dbf607c04fe5caf667ba8e6c;p=pandora-kernel.git phy: qcom-apq8064: fix possible timeout without check This patch fixes a possible timeout in poll loop without actually checking the register before return. In theory the there is a possibility of loop being scheduled after a long lock/delay, which would then force the loop to exit without actually checking the register. Reported-by: Bartlomiej Zolnierkiewicz Signed-off-by: Srinivas Kandagatla Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed