android_kernel_xiaomi_sm8350/drivers/ptp
Karol Kolacinski f1a03799d8 ptp: Fix error message on failed pin verification
[ Upstream commit 323a359f9b077f382f4483023d096a4d316fd135 ]

On failed verification of PTP clock pin, error message prints channel
number instead of pin index after "pin", which is incorrect.

Fix error message by adding channel number to the message and printing
pin number instead of channel number.

Fixes: 6092315dfd ("ptp: introduce programmable pins.")
Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Link: https://lore.kernel.org/r/20240604120555.16643-1-karol.kolacinski@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 09:08:11 +02:00
..
Kconfig ptp_pch: Restore dependency on PCI 2021-08-26 08:36:17 -04:00
Makefile ptp: add debugfs support for ptp_qoriq 2019-01-22 20:21:57 -08:00
ptp_chardev.c ptp: Fix error message on failed pin verification 2024-07-05 09:08:11 +02:00
ptp_clock.c ptp: annotate data-race around q->head and q->tail 2023-11-28 16:50:16 +00:00
ptp_dte.c ptp: ptp_dte: remove redundant dev_err message 2019-07-25 11:37:40 -07:00
ptp_ixp46x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
ptp_kvm.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
ptp_pch.c ptp_pch: Load module automatically if ID matches 2021-10-13 10:08:19 +02:00
ptp_private.h ptp: annotate data-race around q->head and q->tail 2023-11-28 16:50:16 +00:00
ptp_qoriq_debugfs.c ptp_qoriq: add little enadian support 2019-02-12 12:58:48 -05:00
ptp_qoriq.c ptp_qoriq: fix memory leak in probe() 2023-04-05 11:16:43 +02:00
ptp_sysfs.c ptp: annotate data-race around q->head and q->tail 2023-11-28 16:50:16 +00:00