summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl/qe/ucc.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2018-10-23 13:19:54 +0200
committerJiri Kosina <jkosina@suse.cz>2018-10-23 13:19:54 +0200
commita600ffe6ec609b0600ec590236f97f8d430e0984 (patch)
tree57432877c74c80ab470d7b655a2e18a6b5168ee5 /drivers/soc/fsl/qe/ucc.c
parentd19031d32cd77b2878a006040e0f8e4183ca59ef (diff)
parent23e542e5ba5e4298a1475f94750317ec1662ba21 (diff)
downloadtalos-obmc-linux-a600ffe6ec609b0600ec590236f97f8d430e0984.tar.gz
talos-obmc-linux-a600ffe6ec609b0600ec590236f97f8d430e0984.zip
Merge branch 'for-4.20/google' into for-linus
Whisker device specific fixes to hid-google driver
Diffstat (limited to 'drivers/soc/fsl/qe/ucc.c')
-rw-r--r--drivers/soc/fsl/qe/ucc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/fsl/qe/ucc.c b/drivers/soc/fsl/qe/ucc.c
index c646d8713861..681f7d4b7724 100644
--- a/drivers/soc/fsl/qe/ucc.c
+++ b/drivers/soc/fsl/qe/ucc.c
@@ -626,7 +626,7 @@ static u32 ucc_get_tdm_sync_shift(enum comm_dir mode, u32 tdm_num)
{
u32 shift;
- shift = (mode == COMM_DIR_RX) ? RX_SYNC_SHIFT_BASE : RX_SYNC_SHIFT_BASE;
+ shift = (mode == COMM_DIR_RX) ? RX_SYNC_SHIFT_BASE : TX_SYNC_SHIFT_BASE;
shift -= tdm_num * 2;
return shift;
OpenPOWER on IntegriCloud