author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | |
Mon, 18 Nov 2019 18:19:03 +0000 (20:19 +0200) | ||
committer | Sekhar Nori <nsekhar@ti.com> | |
Tue, 26 Nov 2019 09:14:52 +0000 (14:44 +0530) | ||
commit | c26f32d8a4d48812d32ebb6ea85f3cd9dc904617 | |
tree | 79220203581847988df4b1a98f3b746c4f7df82d | tree | snapshot (tar.xz tar.gz zip) |
parent | 34c182029682bcd7a32ef2769aa7bc75141f6e8b | commit | diff |
ethernet: ti: am65-cpts: fix incorrect mask in pps adjust
According to TRM, the mask for hi pps has to be 3FF, that is 0-9 bits
of hi pps register. The circumstances when it can happen look unreal
as first 32 bits has to be enough for everything, but who knows how
it can be used in future, so correct it.
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
According to TRM, the mask for hi pps has to be 3FF, that is 0-9 bits
of hi pps register. The circumstances when it can happen look unreal
as first 32 bits has to be enough for everything, but who knows how
it can be used in future, so correct it.
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
drivers/net/ethernet/ti/am65-cpts.c | diff | blob | history |