summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerreicks@digium.com>2010-01-18 21:00:22 +0000
committerRuss Meyerriecks <rmeyerreicks@digium.com>2010-01-18 21:00:22 +0000
commit899b91d299efc84c69923ea2d40e24075a2d3817 (patch)
tree6976cd14c9cabe63f91863b114ee2154ed4db986
parent68029670c48ec479ca71c0faeb2b57585937db32 (diff)
wct4xxp: One more readback in the _in routines to make sure the writes
clear bridges and such git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7932 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/wct4xxp/base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index 1df3064..0ce2fa1 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -698,6 +698,8 @@ static inline unsigned int __t4_raw_oct_in(struct t4 *wc, const unsigned int add
__t4_gpio_set(wc, 0xff, 0x00);
}
__t4_pci_out(wc, WC_LADDR, (WC_LREAD | WC_LALE | WC_LCS));
+ if (!pedanticpci)
+ __t4_pci_in(wc, WC_VERSION);
if (octopt) {
ret = __t4_pci_in(wc, WC_LDATA) & 0xffff;
} else {