mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 05:27:07 +02:00
scsi: ufs-pci: Enable UFSHCD_CAP_RPM_AUTOSUSPEND for Intel controllers
[ Upstream commit dd78bdb6f8 ]
Enable runtime PM auto-suspend by default for Intel host controllers.
Link: https://lore.kernel.org/r/20201207083120.26732-5-adrian.hunter@intel.com
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3a1be8e380
commit
4bdd912c72
|
|
@ -148,6 +148,8 @@ static int ufs_intel_common_init(struct ufs_hba *hba)
|
|||
{
|
||||
struct intel_host *host;
|
||||
|
||||
hba->caps |= UFSHCD_CAP_RPM_AUTOSUSPEND;
|
||||
|
||||
host = devm_kzalloc(hba->dev, sizeof(*host), GFP_KERNEL);
|
||||
if (!host)
|
||||
return -ENOMEM;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user