Skip to content

Commit

Permalink
lm_sensors: fix patch-status QA error
Browse files Browse the repository at this point in the history
Add an Upstream-status.

Signed-off-by: Thomas Perrot <[email protected]>
  • Loading branch information
tprrt committed Jul 9, 2024
1 parent 78b52e1 commit c66c1d2
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 7daa1da975c62a775f2916cd6a4d617478daa804 Mon Sep 17 00:00:00 2001
From: Thomas Perrot <[email protected]>
Date: Thu, 4 Jul 2024 16:12:53 +0200
Subject: [PATCH] sensors.conf.default: add tmp451

Upstream-Status: Inappropriate [FUSDK only]

Signed-off-by: Thomas Perrot <[email protected]>
---
etc/sensors.conf.default | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/etc/sensors.conf.default b/etc/sensors.conf.default
index 693a66b4..05ab6307 100644
--- a/etc/sensors.conf.default
+++ b/etc/sensors.conf.default
@@ -534,3 +534,8 @@ chip "adt7476-*" "adt7490-*"
# set in4_max 12.0 * 1.10

label temp2 "M/B Temp"
+
+chip "tmp451-*"
+
+ label temp1 "M/B Temp"
+ label temp2 "CPU Temp"
--
2.25.1

13 changes: 0 additions & 13 deletions recipes-bsp/lm_sensors/files/add-tmp451-chip.patch

This file was deleted.

4 changes: 1 addition & 3 deletions recipes-bsp/lm_sensors/lmsensors_3.6.0.bbappend
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI:append = " \
file://add-tmp451-chip.patch \
"
SRC_URI += "file://0001-sensors.conf.default-add-tmp451.patch"

0 comments on commit c66c1d2

Please sign in to comment.