Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1838b98 authored by Aishwarya Prasad's avatar Aishwarya Prasad
Browse files

drivers: net: can:Threshold update for time offset



Threshold update for offset correction.

Change-Id: I28aa8b6b2090ad84f616f80a017e6d4ee98cec62
Signed-off-by: default avatarAishwarya Prasad <aishpras@codeaurora.org>
parent 497e1f66
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -49,8 +49,8 @@
#define EUPGRADE			140
#define QTIMER_DIV				192
#define QTIMER_MUL				10000
#define TIME_OFFSET_MAX_THD		5
#define TIME_OFFSET_MIN_THD		-5
#define TIME_OFFSET_MAX_THD		30
#define TIME_OFFSET_MIN_THD		-30

struct qti_can {
	struct net_device	**netdev;
@@ -349,7 +349,7 @@ static void qti_can_receive_frame(struct qti_can *priv_data,
	if (ts_offset_corrected > 0) {
		if (disp_disc_cntr == 1) {
			dev_info(&priv_data->spidev->dev,
				 "No of buff frames discarded is %lld\n",
				 "No of buff frames discarded is %d\n",
				 buff_frames_disc_cntr);
			disp_disc_cntr = 0;
		}