]> git.baikalelectronics.ru Git - kernel.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)
commit8a56e7c6b3de6a4089e18dc53ef68bcf01b2d8fd
tree2a86df41949cc68dbe8b5f729b6957aec7892caa
parentfac1b006a2a9905388303925dc5c6c711457a525
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