Commit 2c94bbc6 authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Abel Vesa
Browse files

scsi: ufs: ufs-qcom: Factor out the logic finding the HS Gear



In the preparation of adding support for new gears, let's move the
logic that finds the gear for each platform to a new function. This helps
with code readability and also allows the logic to be used in other places
of the driver in future.

While at it, let's make it clear that this driver only supports symmetric
gear setting (hs_tx_gear == hs_rx_gear).

Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarAndrew Halaney <ahalaney@redhat.com>
parent 27310b30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment