Commit 77b96ef
scsi: ufs: host: mediatek: Correct system PM flow
Refine the system power management (PM) flow by skipping low power mode
(LPM) and MTCMOS settings if runtime PM is already applied. Prevent
redundant operations to ensure a more efficient PM process.
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 15ef3f5 commit 77b96ef
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2304 | 2304 | | |
2305 | 2305 | | |
2306 | 2306 | | |
2307 | | - | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
2308 | 2311 | | |
2309 | 2312 | | |
2310 | 2313 | | |
2311 | 2314 | | |
2312 | 2315 | | |
2313 | 2316 | | |
2314 | | - | |
| 2317 | + | |
| 2318 | + | |
2315 | 2319 | | |
2316 | 2320 | | |
2317 | 2321 | | |
2318 | 2322 | | |
| 2323 | + | |
2319 | 2324 | | |
2320 | 2325 | | |
2321 | 2326 | | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
2322 | 2330 | | |
2323 | 2331 | | |
2324 | 2332 | | |
2325 | 2333 | | |
2326 | 2334 | | |
2327 | | - | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
2328 | 2339 | | |
2329 | 2340 | | |
2330 | 2341 | | |
| |||
0 commit comments