Commit 040b7c94 authored by David Gounaris's avatar David Gounaris Committed by David S. Miller
Browse files

net/wan/fsl_ucc_hdlc: GUMR for non tsa mode



The following bits in the GUMR is changed for non
tsa mode: CDS, CTSP and CTSS are set to zero.

When set, there is no tx interrupts from the controller.

Signed-off-by: default avatarDavid Gounaris <david.gounaris@infinera.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 045f77ba
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -97,6 +97,12 @@ static int uhdlc_init(struct ucc_hdlc_private *priv)
	if (priv->tsa) {
		uf_info->tsa = 1;
		uf_info->ctsp = 1;
		uf_info->cds = 1;
		uf_info->ctss = 1;
	} else {
		uf_info->cds = 0;
		uf_info->ctsp = 0;
		uf_info->ctss = 0;
	}

	/* This sets HPM register in CMXUCR register which configures a