Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2022 00:29:09 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 205fa5f0a5cb - stable/13 - rtsx: Call rtsx_init() on resume.
Message-ID:  <202203220029.22M0T9qn006445@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=205fa5f0a5cba5f9dc2ce9ef6c18a867bcd20e71

commit 205fa5f0a5cba5f9dc2ce9ef6c18a867bcd20e71
Author:     hlh-restart <hlh@restart.be>
AuthorDate: 2022-03-19 16:37:24 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-03-22 00:28:34 +0000

    rtsx: Call rtsx_init() on resume.
    
    MFC after:      3 days
    
    (cherry picked from commit 1b1bab0078a7bbeb575942c4706a2abcd71d6022)
---
 sys/dev/rtsx/rtsx.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c
index dffdbd2ca094..466e6a864ca4 100644
--- a/sys/dev/rtsx/rtsx.c
+++ b/sys/dev/rtsx/rtsx.c
@@ -173,7 +173,7 @@ struct rtsx_softc {
 #define	RTSX_RTL8411		0x5289
 #define	RTSX_RTL8411B		0x5287
 
-#define	RTSX_VERSION		"2.1d"
+#define	RTSX_VERSION		"2.1e"
 
 static const struct rtsx_device {
 	uint16_t	vendor_id;
@@ -3822,6 +3822,8 @@ rtsx_resume(device_t dev)
 {
 	device_printf(dev, "Resume\n");
 
+	rtsx_init(device_get_softc(dev));
+
 	bus_generic_resume(dev);
 
 	return (0);



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