diff options
author | Andrey Smirnov <[email protected]> | 2019-04-14 17:46:30 -0700 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2019-05-01 11:35:47 +0100 |
commit | 37d5d32ae091c7acff23a080e3c179977fb943cd (patch) | |
tree | 108da2f4cd8718a786f9305642a54740fb8cfcf7 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | c2c708bc1dbf9655211d3843e2f36c7951059cf0 (diff) |
PCI: imx6: Restrict PHY register data to 16-bit
PHY registers on i.MX6 are 16-bit wide, so we can get rid of explicit
masking if we restrict pcie_phy_read()/pcie_phy_write() to use 'u16'
instead of 'int'. No functional change intended.
Signed-off-by: Andrey Smirnov <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions