RE: [<PATCH v1> 1/1] scsi: ufs: Resume ufs host before accessing ufs device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> From: Nitin Rawat <nitirawa@xxxxxxxxxxxxxx>
> 
> As a part of sysfs reading of descriptors/attributes/flags,
> query commands should only be executed when hba's
> power runtime status is active.
> To guarantee this, add pm_runtime_get/put_sync()
> to those paths where query commands are sent.
> 
> Signed-off-by: Nitin Rawat <nitirawa@xxxxxxxxxxxxxx>
> Signed-off-by: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux