git: bbf3b7bdf876 - releng/13.1 - rtsx: Call rtsx_init() on resume.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Mar 2022 17:30:23 UTC
The branch releng/13.1 has been updated by mav:
URL: https://cgit.FreeBSD.org/src/commit/?id=bbf3b7bdf87669026ade4ad0fb6fefde331e68c9
commit bbf3b7bdf87669026ade4ad0fb6fefde331e68c9
Author: hlh-restart <hlh@restart.be>
AuthorDate: 2022-03-19 16:37:24 +0000
Commit: Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-03-24 17:29:59 +0000
rtsx: Call rtsx_init() on resume.
Approved by: re (gjb)
(cherry picked from commit 1b1bab0078a7bbeb575942c4706a2abcd71d6022)
(cherry picked from commit 205fa5f0a5cba5f9dc2ce9ef6c18a867bcd20e71)
---
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);