scsi/ufs: qcom: Set phy mode based on the controllers HS MODE
authorVivek Gautam <vivek.gautam@codeaurora.org>
Thu, 12 Oct 2017 06:19:35 +0000 (11:49 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Oct 2017 05:49:27 +0000 (11:19 +0530)
commite9dc42c70c003746f2b541114f1fa19dc0ab232d
tree42e3b22d9d6235d89f163b93fd00a5692edcfa36
parent3d741ff44edc05cd313ddc1b3c1c1ab0f41722f4
scsi/ufs: qcom: Set phy mode based on the controllers HS MODE

Set the phy mode based on the UFS HS PA mode. This lets the
controller let phy know the mode in which the PHY Adapter is
running and set the phy rates accordingly.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/scsi/ufs/ufs-qcom.c