[GIT PULL] hte: Changes for v6.7-rc1

From: Dipen Patel
Date: Tue Oct 31 2023 - 12:13:03 EST


The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/pateldipen1984/linux.git tags/for-6.7-rc1

for you to fetch changes up to fc62d5e214df2dd64f5d675f01b609d86a422a2b:

hte: Use kasprintf() instead of fixed buffer formatting (2023-10-27 14:09:22 -0700)

----------------------------------------------------------------
hte: Changes for v6.7-rc1

The changes for the hte/timestamp subsystem include the following:
- Improve comments in the translate function
- Reflect the GPIOLIB API changes during calculation of the GPIO base
- Improve error handling in Tegra test and provider drivers
- Improve code to set the line name

This change set has minor merge conflict with the gpio-brgl tree
and could be resolved with below details:

diff --cc drivers/hte/Kconfig
index 8e0fd818a73e,083e67492bf2..000000000000
--- a/drivers/hte/Kconfig
+++ b/drivers/hte/Kconfig
@@@ -16,8 -16,7 +16,8 @@@ if HT

config HTE_TEGRA194
tristate "NVIDIA Tegra194 HTE Support"
- depends on ARCH_TEGRA_194_SOC
+ depends on (ARCH_TEGRA_194_SOC || COMPILE_TEST)
+ depends on GPIOLIB
help
Enable this option for integrated hardware timestamping engine also
known as generic timestamping engine (GTE) support on NVIDIA Tegra194


----------------------------------------------------------------
Andy Shevchenko (3):
hte: tegra194: Remove redundant dev_err()
hte: tegra194: Switch to LATE_SIMPLE_DEV_PM_OPS()
hte: Use kasprintf() instead of fixed buffer formatting

Bartosz Golaszewski (2):
hte: allow building modules with COMPILE_TEST enabled
hte: tegra194: improve the GPIO-related comment

Harshit Mogalapalli (1):
hte: tegra: Fix missing error code in tegra_hte_test_probe()

Kees Cook (1):
hte: Annotate struct hte_device with __counted_by

drivers/hte/Kconfig | 4 ++--
drivers/hte/hte-tegra194-test.c | 4 +++-
drivers/hte/hte-tegra194.c | 26 +++++++++++++-------------
drivers/hte/hte.c | 15 +++++----------
4 files changed, 23 insertions(+), 26 deletions(-)