OSDN Git Service

scsi: ufs: Add sysfs node to dynamically control hibern8 on idle
authorSubhash Jadavani <subhashj@codeaurora.org>
Thu, 9 Oct 2014 09:54:41 +0000 (02:54 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 17:57:37 +0000 (10:57 -0700)
commita4ef3c82e8ac9cf072e947f80b7f176df8698e71
tree4a48d298c984d3208ddabad9352a6b0ebc9dfd53
parentab18ee44ce262018da8bf4c18b8e642e152dac89
scsi: ufs: Add sysfs node to dynamically control hibern8 on idle

Provide an option to enable/disable hibern8 on idle functionality during
runtime. Write 1 or 0 to "hibern8_on_idle_enable" sysfs node to
enable/disable hibern8 on idle functionality.

Change-Id: Id4b6253c3c53ed71575c05596abbd4dd99821eff
[subhashj@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
[venkatg@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
drivers/scsi/ufs/ufshcd.c
include/linux/scsi/ufs/ufshcd.h