diff options
author | Wang Qing <[email protected]> | 2020-11-12 18:45:41 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-13 15:25:43 -0800 |
commit | 81e329e93b860b31c216b40eb5e1373db0ffe0ba (patch) | |
tree | c06786f7f344cd0681ca07031e5e40973c64706e /lib/mpi/mpi-cmp.c | |
parent | 8c07205aea36ccebe9fc5f97287a8bc416cea197 (diff) |
net: ethernet: ti: am65-cpts: update ret when ptp_clock is ERROR
We always have to update the value of ret, otherwise the
error value may be the previous one.
Fixes: f6bd59526ca5 ("net: ethernet: ti: introduce am654 common platform time sync driver")
Signed-off-by: Wang Qing <[email protected]>
[[email protected]: fix build warn, subj add fixes tag]
Signed-off-by: Grygorii Strashko <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions