aboutsummaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2017-05-17 17:24:36 +0200
committerDavid S. Miller <davem@davemloft.net>2017-05-18 10:28:38 -0400
commit54e9e0874938ba5b112b9352e280b4962590a57d (patch)
treedf9184caa74d75439290e69e1778f56f3ff2e7de /include/soc
parentnet/wan/fsl_ucc_hdlc: fix incorrect memory allocation (diff)
downloadlinux-dev-54e9e0874938ba5b112b9352e280b4962590a57d.tar.xz
linux-dev-54e9e0874938ba5b112b9352e280b4962590a57d.zip
net/wan/fsl_ucc_hdlc: call qe_setbrg only for loopback mode
We can't assume that we are always in loopback mode if rx and tx clock have the same clock source. If we want to use HDLC busmode we also have the same clock source but we are not in loopback mode. So move the setting of the baudrate generator after the check for property for the loopback mode. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Cc: Zhao Qiang <qiang.zhao@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions