Loading drivers/scsi/ufs/ufs-sysfs.c +2 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,7 @@ static void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit) goto out_unlock; if (!pm_runtime_suspended(hba->dev)) { spin_unlock_irqrestore(hba->host->host_lock, flags); pm_runtime_get_sync(hba->dev); ufshcd_hold(hba, false); down_write(&hba->lock); ufshcd_scsi_block_requests(hba); Loading @@ -145,6 +146,7 @@ static void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit) up_write(&hba->lock); ufshcd_scsi_unblock_requests(hba); ufshcd_release(hba, false); pm_runtime_put(hba->dev); return; } hba->ahit = ahit; Loading Loading
drivers/scsi/ufs/ufs-sysfs.c +2 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,7 @@ static void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit) goto out_unlock; if (!pm_runtime_suspended(hba->dev)) { spin_unlock_irqrestore(hba->host->host_lock, flags); pm_runtime_get_sync(hba->dev); ufshcd_hold(hba, false); down_write(&hba->lock); ufshcd_scsi_block_requests(hba); Loading @@ -145,6 +146,7 @@ static void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit) up_write(&hba->lock); ufshcd_scsi_unblock_requests(hba); ufshcd_release(hba, false); pm_runtime_put(hba->dev); return; } hba->ahit = ahit; Loading