OSDN Git Service

scsi: ufs: read ref clk and icc level during init only
authorNoag <noag@codeaurora.org>
Wed, 15 Jan 2014 08:52:53 +0000 (10:52 +0200)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 17:56:32 +0000 (10:56 -0700)
commit90c7800a6d959caed423f0b345976a2c9ed1b47f
tree15829b4fd2cc387c03c105ef35bd2079b06ee96c
parent57e694f677e91e604222b810dfdbebe66260e2af
scsi: ufs: read ref clk and icc level during init only

In order to minimize resume latency, pre-fetch
icc levels and reference clock during initialization
and avoid reading them each link startup
during resume.

Change-Id: Iab705068e46114eb3caa00c6e1b88a7862385d08
Signed-off-by: Noag <noag@codeaurora.org>
[subhashj@codeaurora.org: resolved merge conflicts]
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
drivers/scsi/ufs/ufshcd.c