rtsx: Call rtsx_init() on resume.

Approved by:	re (gjb)

(cherry picked from commit 1b1bab0078)
(cherry picked from commit 205fa5f0a5)
This commit is contained in:
hlh-restart 2022-03-19 12:37:24 -04:00 committed by Alexander Motin
parent 26714a5fa2
commit bbf3b7bdf8

View file

@ -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);