diff options
author | Matthew Fredrickson <creslin@digium.com> | 2010-03-02 23:41:28 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2010-03-02 23:41:28 +0000 |
commit | a7ca760e0107f3f64e6c7502db6543036a0102ed (patch) | |
tree | 367c6e01f7a59eb8e15fb63713fbcdaf90aa70e5 | |
parent | 5745e6e470f4cbf15f1dc17b6f324fc016e15a16 (diff) |
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
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 5 |
1 files 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++) |