Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2024 21:37:34 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 459404cbc4e3 - main - rtsw: Break out as soon as we find we're doing the inversion workaround
Message-ID:  <202411202137.4AKLbYGe010399@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=459404cbc4e34fd31b184fe63f487c97d1a45783

commit 459404cbc4e34fd31b184fe63f487c97d1a45783
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-11-20 21:37:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-11-20 21:37:20 +0000

    rtsw: Break out as soon as we find we're doing the inversion workaround
    
    Once we set that we're doing the inversion workaround, there's no sense
    continuing to search for the inversion workaround.
    
    Sponsored by:           Netflix
    Reviewed by:    adrian
    Differential Revision:  https://reviews.freebsd.org/D47686
---
 sys/dev/rtsx/rtsx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c
index cc2adc8a205c..a293d5e12e5e 100644
--- a/sys/dev/rtsx/rtsx.c
+++ b/sys/dev/rtsx/rtsx.c
@@ -3630,6 +3630,7 @@ rtsx_attach(device_t dev)
 			device_printf(dev, "If a card is detected without an SD card present,"
 				      " add dev.rtsx.0.inversion=0 in loader.conf(5)\n");
 			sc->rtsx_inversion = 1;
+			break;
 		}
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411202137.4AKLbYGe010399>