]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ucc/hdlc: fix two little issue
authorZhao Qiang <qiang.zhao@nxp.com>
Tue, 14 Mar 2017 01:38:33 +0000 (09:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Mar 2017 04:53:48 +0000 (21:53 -0700)
commit02bb56ddc6711639c549d81c7b9f6d845da243a9
treeb9e2193d2a25c9c74fa6628c02836cd5f446eeee
parentc80498e36d4ef3e24599d363c622fbf22a1293cc
ucc/hdlc: fix two little issue

1. modify bd_status from u32 to u16 in function hdlc_rx_done,
because bd_status register is 16bits
2. write bd_length register before writing bd_status register

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/fsl_ucc_hdlc.c