summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2017-05-15 18:17:57 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-07 10:55:31 -0700
commited58ffc218c6da02122ac9e081c8169316774587 (patch)
treeba6a115d0f3ce47be8d74d9051e756297c0eded9 /net/unix/af_unix.c
parenteb28d0da158f7bfe2f94b3d1cb003fb7abda0c15 (diff)
scsi: ufs: fix unclocked register access
When we try to update UFS driver's sysfs attribute hibern8_on_idle_delay_ms (echo <val> > /sys/bus/platform/devices/*.ufshc/hibern8_on_idle_delay_ms) and if auto-hibern8 is enabled, we try to update the new timeout value into auto-hibern8 timer register without making sure the controller clocks are enabled, this may cause the unclocked register access. So we are now making sure that clocks are enabled and we are also making sure that there are no transfers active on controller when we modify the auto hibern8 timeout. Change-Id: I603b3f405d3a69c594edd45037a2ca4535ebd1ca Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions