net: stmmac: xgmac: fix a typo of register name in DPP safety handling
authorFurong Xu <0x1207@gmail.com>
Sat, 3 Feb 2024 05:31:33 +0000 (13:31 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 Feb 2024 12:57:28 +0000 (13:57 +0100)
commit1ce2654d87e2fb91fea83b288bd9b2641045e42a
tree8bd66120cabeb4c707509a5b076cca8d66a805c0
parentb083d24fcf57580cc0b45dd7b0b4f84d8c4624f4
net: stmmac: xgmac: fix a typo of register name in DPP safety handling

DDPP is copied from Synopsys Data book:

DDPP: Disable Data path Parity Protection.
    When it is 0x0, Data path Parity Protection is enabled.
    When it is 0x1, Data path Parity Protection is disabled.

The macro name should be XGMAC_DPP_DISABLE.

Fixes: 46eba193d04f ("net: stmmac: xgmac: fix handling of DPP safety error for DMA channels")
Signed-off-by: Furong Xu <0x1207@gmail.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/20240203053133.1129236-1-0x1207@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c