summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx8m/ddrphy_train.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-03-06 15:14:03 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-04-27 20:30:13 +0200
commit896449fa29cc8b2906da540448d95eac09d99fc3 (patch)
tree56bce3ad6a836d237c55f7f3e59c0fc107a3f198 /drivers/ddr/imx/imx8m/ddrphy_train.c
parente9dbd1ac8239317809dba140125c1f35f03524de (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: Weijie Gao <weijie.gao@mediatek.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions