git: 1b1bab0078a7 - main - rtsx: Call rtsx_init() on resume.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Mar 2022 16:39:51 UTC
The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=1b1bab0078a7bbeb575942c4706a2abcd71d6022 commit 1b1bab0078a7bbeb575942c4706a2abcd71d6022 Author: hlh-restart <hlh@restart.be> AuthorDate: 2022-03-19 16:37:24 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2022-03-19 16:37:24 +0000 rtsx: Call rtsx_init() on resume. MFC after: 3 days --- 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);