summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2015-06-18 16:35:11 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:00:01 -0700
commitfcdf9bdb3fc3d942a7e43d76aa372c83f152e44a (patch)
tree36921cd079b8934b5bc8b98123c7f7eae295c2ab /include
parenta729df084c8f405a2130b2c1c0501761bc7a1915 (diff)
scsi: ufs-debugfs: fix reading the M-PHY RX attributes
DME attributes read/write commands need GenSelectorIndex argument and according to UFS host controller specification, it should specify the targeted M-PHY data lane. This is the valid range of GenSelectorIndex for M-PHY attributes: 0 to (2 * PA_MaxDataLanes - 1) Example (Note: PA_MaxDataLanes is UniPro protocol constant set to 4): ----------------------------------------- MPHY Access target | GenSelectorIndex ----------------------------------------- TX Lane0 | 0 TX Lane1 | 1 RX Lane0 | 4 RX Lane1 | 5 ----------------------------------------- This change makes sure that correct GenSelectorIndex is passed for M-PHY attributes while it reading via debugfs. Change-Id: If09e4271958e4bb18d315446cef253caec75584a Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions