From 59a7c543a70e59763a70ab71dae97da2d0febd86 Mon Sep 17 00:00:00 2001 From: Guillaume Knispel Date: Tue, 28 Feb 2012 18:32:01 +0100 Subject: trigger cs2 from xivo_tdm_trigger_handler --- xhfc/xhfc_leb.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'xhfc/xhfc_leb.c') diff --git a/xhfc/xhfc_leb.c b/xhfc/xhfc_leb.c index 42e7b9d..c7e94d7 100644 --- a/xhfc/xhfc_leb.c +++ b/xhfc/xhfc_leb.c @@ -128,8 +128,21 @@ void leb_init(struct xhfc_pi *leb) | LEB_TCS_BYTE_EN, ®s->timing_cs[1]); + writel( LEB_TCS_CS_EN + | LEB_TCS_T1_ADDR_TM(3) + | LEB_TCS_T2_SU_CS_TM(3) + | LEB_TCS_T3_STRB_TM(3) + | LEB_TCS_T4_HOLD_TM(3) + | LEB_TCS_T5_RCVRY_TM(3) + | LEB_TCS_CYC_TYPE_INTEL + | LEB_TCS_CNFG_512_B + | LEB_TCS_SPLT_EN + | LEB_TCS_WR_EN + | LEB_TCS_BYTE_EN, + ®s->timing_cs[2]); + /* We are true paranoiacs: */ - (void)readl(®s->timing_cs[1]); + (void)readl(®s->timing_cs[2]); /* That's it! :-) */ } -- cgit v1.2.3