From ee65597303935fb8ad07a2b966a1b8287a4e9e2f Mon Sep 17 00:00:00 2001
From: schneider <schneider@blinkenlichts.net>
Date: Thu, 15 Oct 2020 01:37:57 +0200
Subject: [PATCH] fix(max86150): Bring handling of full stream queue in line
 with MAX30001

The -EIO error was triggering a warning in the caller.
---
 epicardium/modules/max86150.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/epicardium/modules/max86150.c b/epicardium/modules/max86150.c
index f452f303c..fac9fbc51 100644
--- a/epicardium/modules/max86150.c
+++ b/epicardium/modules/max86150.c
@@ -142,7 +142,6 @@ static int max86150_handle_sample(struct max86150_sensor_data *data)
 			LOG_WARN("max86150", "queue full");
 		}
 		max86150_stream.was_full = true;
-		return -EIO;
 	} else {
 		max86150_stream.was_full = false;
 	}
-- 
GitLab