lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251228161106.1424861-1-bjorn@mork.no>
Date: Sun, 28 Dec 2025 17:11:06 +0100
From: Bjørn Mork <bjorn@...k.no>
To: Felix Fietkau <nbd@....name>
Cc: Chukun Pan <amadeus@....edu.cn>, Lorenzo Bianconi <lorenzo@...nel.org>,
        Ryder Lee <ryder.lee@...iatek.com>,
        Shayne Chen <shayne.chen@...iatek.com>,
        Sean Wang <sean.wang@...iatek.com>,
        Matthias Brugger <matthias.bgg@...il.com>,
        AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
        StanleyYP Wang <StanleyYP.Wang@...iatek.com>,
        linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org,
        linux-mediatek@...ts.infradead.org,
        Bjørn Mork <bjorn@...k.no>
Subject: [PATCH] mt7996: trust eeprom data from nvmem for now

The iFEM/eFEM classification does not currently support some of the ADIE
combinations in use by vendors. Trust nvmem provided data instead of
falling back to wrong defaults.

Signed-off-by: Bjørn Mork <bjorn@...k.no>
---
 mt7996/eeprom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mt7996/eeprom.c b/mt7996/eeprom.c
index 8f60772913b4..3e7670a60fea 100644
--- a/mt7996/eeprom.c
+++ b/mt7996/eeprom.c
@@ -172,7 +172,7 @@ static int mt7996_eeprom_load(struct mt7996_dev *dev)
 
 	if (ret && !mt7996_check_eeprom(dev)) {
 		dev->flash_mode = true;
-		goto out;
+		return 0;
 	}
 
 	if (!dev->flash_mode) {
-- 
2.47.3


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ