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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:52:38 +0000 (14:52 +0100)
commitfa1578ec411d8cf9724166738fd41fc5b686e28e
treef4b8d521ae22772fba122fc8d6062efde246f98b
parent795b13034224f1b82fc22d749f9226a8c97977d4
soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()

[ Upstream commit 96fc74333f84cfdf8d434c6c07254e215e2aad00 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/fsl/qe/ucc.c