From: Joao Pinto <[email protected]> Date: Tue, 11 Apr 2017 15:44:10 +0100
> +static void dwmac4_enable_tx_drop(struct mac_device_info *hw)
> +{
> + void __iomem *ioaddr = hw->pcsr;
> + u32 value = readl(ioaddr + MTL_OPERATION_MODE);
> +
> + value &= ~MTL_OPERATION_DTXSTS;
> + value |= MTL_OPERATION_DTXSTS;
I think the mask is unnecessary, just simply set the bit.
