From a7ca760e0107f3f64e6c7502db6543036a0102ed Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Tue, 2 Mar 2010 23:41:28 +0000 Subject: Revert commit 8096. Causes register problems on XHFC SPI interfaces. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8220 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wctdm24xxp/base.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index a640f94..71073dd 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -964,7 +964,7 @@ static inline void wctdm_transmitprep(struct wctdm *wc, unsigned char *writechun cmd_checkisr(wc, y); } - if ((x < 3) && (y < wc->mods_per_board)) + if (y < wc->mods_per_board) cmd_dequeue(wc, writechunk, y, x); } if (!x) @@ -1204,8 +1204,7 @@ static inline void wctdm_receiveprep(struct wctdm *wc, const u8 *readchunk) } } for (y = 0; y < wc->avchannels; y++) { - if (x < 3) - cmd_decipher(wc, readchunk, y); + cmd_decipher(wc, readchunk, y); } if (wc->vpm100) { for (y = NUM_MODULES; y < NUM_MODULES + NUM_EC; y++) -- cgit v1.2.3