]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
authorZhao Qiang <qiang.zhao@nxp.com>
Thu, 1 Feb 2018 06:54:32 +0000 (14:54 +0800)
committerOlof Johansson <olof@lixom.net>
Tue, 25 Sep 2018 20:57:26 +0000 (13:57 -0700)
commit96fc74333f84cfdf8d434c6c07254e215e2aad00
tree0937fc7a47037c76bbe3880d75177de4f9839939
parent64e9e22e68512da8df3c9a7430f07621e48db3c2
soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()

There is a copy and paste bug so we accidentally use the RX_ shift when
we're in TX_ mode.

Fixes: bb8b2062aff3 ("fsl/qe: setup clock source for TDM mode")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
(cherry picked from commit 3cb31b634052ed458922e0c8e2b4b093d7fb60b9)
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/soc/fsl/qe/ucc.c