]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ptp: ocp: add TOD debug information
authorVadim Fedorenko <vadfed@fb.com>
Wed, 2 Mar 2022 21:34:55 +0000 (13:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2022 14:42:46 +0000 (14:42 +0000)
commit9f492c4cb2351c43e5ea64285e729a21392950df
tree2a86df41949cc68dbe8b5f729b6957aec7892caa
parent01e2d1579682734585510c7bbba917e25446299a
ptp: ocp: add TOD debug information

TOD information is currently displayed only on module load,
which doesn't provide updated information as the system runs.

Create a debug file which provides the current TOD status information,
and move the information display there.

Signed-off-by: Vadim Fedorenko <vadfed@fb.com>
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c