commit | 6877cdb3850f2392f9ebd247dec1da006430e632 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Fri Mar 06 15:14:03 2020 +0100 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Mon Apr 27 20:30:13 2020 +0200 |
tree | 56bce3ad6a836d237c55f7f3e59c0fc107a3f198 | |
parent | 1d0f33c3c3245669f30464a9ba0c1247b0c669e0 [diff] |
mips: mt76x8: ddr_cal: Rename dqs_test_valid() to dqs_test_error() This function returns "-1" (true) upon error. So the function name does not match its implementation which is confusing. This patch renames the function to dqs_test_error() which makes the code easier to read. Also change the return type to bool and return "true" or "false". Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>