net: mscc: ocelot: fix fields offset in SG_CONFIG_REG_3
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>
Thu, 24 Sep 2020 02:11:13 +0000 (10:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 03:00:40 +0000 (20:00 -0700)
commit4ab810a4e04ab6c851007033d39c13e6d3f55110
treef1a61486d7a94c20241dd5eba4b7da879a866203
parentdba1e4660a87927bdc03c23e36fd2c81a16a7ab1
net: mscc: ocelot: fix fields offset in SG_CONFIG_REG_3

INIT_IPS and GATE_ENABLE fields have a wrong offset in SG_CONFIG_REG_3.
This register is used by stream gate control of PSFP, and it has not
been used before, because PSFP is not implemented in ocelot driver.

Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/soc/mscc/ocelot_ana.h