git: 459404cbc4e3 - main - rtsw: Break out as soon as we find we're doing the inversion workaround
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Nov 2024 21:37:34 UTC
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;
}
}