diff options
author | Xiaoliang Yang <xiaoliang.yang_1@nxp.com> | 2020-09-24 09:57:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-24 20:00:40 -0700 |
commit | dba1e4660a87927bdc03c23e36fd2c81a16a7ab1 (patch) | |
tree | 030378c845d0ffe34607b8bb66d290c2c64c1af8 /include/soc | |
parent | f68910a8056f9451ee9fe7e1b962f7d90d326ad3 (diff) | |
download | linux-next-dba1e4660a87927bdc03c23e36fd2c81a16a7ab1.tar.gz |
net: dsa: felix: convert TAS link speed based on phylink speed
state->speed holds a value of 10, 100, 1000 or 2500, but
QSYS_TAG_CONFIG_LINK_SPEED expects a value of 0, 1, 2, 3. So convert the
speed to a proper value.
Fixes: de143c0e274b ("net: dsa: felix: Configure Time-Aware Scheduler via taprio offload")
Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions