The branch stable/13 has been updated by mav:

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

commit 205fa5f0a5cba5f9dc2ce9ef6c18a867bcd20e71
Author:     hlh-restart <[email protected]>
AuthorDate: 2022-03-19 16:37:24 +0000
Commit:     Alexander Motin <[email protected]>
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);

Reply via email to