Commit 28a60bb
scsi: ufs: ufs-pci: Remove UFS PCI driver's ->late_init() call back
->late_init() was introduced to allow the default values for rpm_lvl and
spm_lvl to be set. Since commit bb98507 ("scsi: ufs: core: Honor
runtime/system PM levels if set by host controller drivers") and commit
fe06b7c ("scsi: ufs: core: Set default runtime/system PM levels
before ufshcd_hba_init()"), those default values can be set in the
->init() variant call back.
Move the setting of default values for rpm_lvl and spm_lvl to ->init()
and remove ->late_init().
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250723165856.145750-4-adrian.hunter@intel.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 6de7435 commit 28a60bb
1 file changed
Lines changed: 9 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
35 | | - | |
36 | 31 | | |
37 | 32 | | |
38 | 33 | | |
| |||
434 | 429 | | |
435 | 430 | | |
436 | 431 | | |
437 | | - | |
| 432 | + | |
438 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
439 | 440 | | |
440 | 441 | | |
441 | 442 | | |
| |||
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | 448 | | |
461 | 449 | | |
462 | 450 | | |
| |||
468 | 456 | | |
469 | 457 | | |
470 | 458 | | |
471 | | - | |
| 459 | + | |
472 | 460 | | |
473 | 461 | | |
474 | 462 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | 463 | | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
| 464 | + | |
488 | 465 | | |
489 | 466 | | |
490 | 467 | | |
| |||
614 | 591 | | |
615 | 592 | | |
616 | 593 | | |
617 | | - | |
618 | 594 | | |
619 | 595 | | |
620 | 596 | | |
| |||
647 | 623 | | |
648 | 624 | | |
649 | 625 | | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | 626 | | |
655 | 627 | | |
656 | 628 | | |
| |||
0 commit comments