linux-loongson/drivers/hid/intel-ish-hid/ishtp
Zhang Lixu 7e0d1cff12 HID: intel-ish-hid: Send clock sync message immediately after reset
The ISH driver performs a clock sync with the firmware once at system
startup and then every 20 seconds. If a firmware reset occurs right
after a clock sync, the driver would wait 20 seconds before performing
another clock sync with the firmware. This is particularly problematic
with the introduction of the "load firmware from host" feature, where
the driver performs a clock sync with the bootloader and then has to
wait 20 seconds before syncing with the main firmware.

This patch clears prev_sync immediately upon receiving an IPC reset,
so that the main firmware and driver will perform a clock sync
immediately after completing the IPC handshake.

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2025-02-03 10:53:12 +01:00
..
bus.c Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
bus.h HID: intel-ish-hid: Remove unused declarations 2024-08-19 20:08:11 +02:00
client-buffers.c HID: intel-ish-hid: Remove unused ishtp_cl_tx_empty 2025-01-09 10:09:11 +01:00
client.c HID: intel-ish-hid: Remove unused ishtp_cl_get_tx_* 2025-01-09 10:09:11 +01:00
client.h HID: intel-ish-hid: Remove unused ishtp_cl_get_tx_* 2025-01-09 10:09:11 +01:00
dma-if.c HID: intel_ish-hid: Add check for ishtp_dma_tx_map 2023-01-02 13:50:14 +01:00
hbm.c HID: intel-ish-hid: Implement loading firmware from host feature 2024-05-06 23:33:54 +02:00
hbm.h HID: intel_ish-hid: HBM: Use connected standby state bit during suspend/resume 2021-03-19 14:34:51 +01:00
init.c HID: intel-ish-hid: Remove unused ishtp_dev_state_str 2025-01-09 10:09:11 +01:00
ishtp-dev.h HID: intel-ish-hid: Send clock sync message immediately after reset 2025-02-03 10:53:12 +01:00
loader.c HID: intel-ish-hid: Add firmware version sysfs attributes 2024-10-11 13:17:01 +02:00
loader.h HID: intel-ish-hid: Add firmware version sysfs attributes 2024-10-11 13:17:01 +02:00