From: Hayes Wang <hayesw...@realtek.com> Date: Thu, 5 Sep 2019 10:46:20 +0800
> The UPS feature only works for runtime suspend, so UPS flags only > need to be set before enabling runtime suspend. Therefore, I create > a struct to record relative information, and use it before runtime > suspend. > > All chips could record such information, even though not all of > them support the feature of UPS. Then, some functions could be > combined. > > Signed-off-by: Hayes Wang <hayesw...@realtek.com> Applied.