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

Commit 9c7834cf 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: I767323f8dc40ebff4326e9935571cb6c1423dc2e
Signed-off-by: default avatarAishwarya Prasad <aishpras@codeaurora.org>
parent 3fe4a4e1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -46,8 +46,8 @@
#define DRIVER_MODE_AMB			2
#define QUERY_FIRMWARE_TIMEOUT_MS	300
#define EUPGRADE			140
#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;
@@ -326,7 +326,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;
		}