diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2014-07-16 09:18:43 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-07-22 12:46:12 +0530 |
commit | 175f02ebdfdf8431dbf607c04fe5caf667ba8e6c (patch) | |
tree | bf51df06d2a44d07433a9bc4c629f2f789715cf2 /drivers/phy/phy-qcom-ipq806x-sata.c | |
parent | f0ed817638b59aa927f1f7e9564dd8796b18dc4f (diff) |
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 <b.zolnierkie@samsung.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-qcom-ipq806x-sata.c')
0 files changed, 0 insertions, 0 deletions