summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring.h b/ring.h
index 3306ba1..e74661c 100644
--- a/ring.h
+++ b/ring.h
@@ -144,7 +144,7 @@ static inline int set_sockopt_hwtimestamp(int sock, const char *dev)
return -1;
memset(&hwconfig, 0, sizeof(hwconfig));
- hwconfig.tx_type = HWTSTAMP_TX_ON;
+ hwconfig.tx_type = HWTSTAMP_TX_OFF;
hwconfig.rx_filter = HWTSTAMP_FILTER_ALL;
memset(&ifr, 0, sizeof(ifr));
letion forever
Because the eSPI driver uses wait_for_completion(), any stuck-able phenomenon at half-way transaction progress made worker task hang up. This phenomenon is perhaps caused by eSPI device errata which seems not to be published from vendor site yet. Anyway, we fix hang task by using fixed 2 seconds timeout that is our preferred value for eSPI maximum transaction size. It seems to be better that eSPI driver can detect this stuck and report error (EMSGSIZE) to the upper device driver because the upper device driver can decide to retry or recover. Signed-off-by: Nobuteru Hayashi <hayashi.nbb@ncos.nec.co.jp> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/i2c')