diff options
author | mark gross <mgross@linux.intel.com> | 2006-06-23 18:13:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 17:12:02 -0400 |
commit | a09ab7e2fcd22f0490a270bb310536c651d53cb9 (patch) | |
tree | 3463977fac2c1ad0adf8a1b3cfe05a67d05d8093 | |
parent | da206c9e68cb93fcab43592d46276c02889c1250 (diff) |
[PATCH] type-oh bug in tlclk.c
Mark Bellon found a bug in my tlclk driver. Thanks!
I botch the register mask for store_received_ref_clk3a.
See http://download.intel.com/design/network/manuals/30412001.pdf
tables 124 and 136 for details.
Signed-off-by: Mark Gross <mark.gross@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/char/tlclk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tlclk.c b/drivers/char/tlclk.c index f58ad7f6826..ef68d152d3e 100644 --- a/drivers/char/tlclk.c +++ b/drivers/char/tlclk.c | |||
@@ -343,7 +343,7 @@ static ssize_t store_received_ref_clk3b(struct device *d, | |||
343 | 343 | ||
344 | val = (unsigned char)tmp; | 344 | val = (unsigned char)tmp; |
345 | spin_lock_irqsave(&event_lock, flags); | 345 | spin_lock_irqsave(&event_lock, flags); |
346 | SET_PORT_BITS(TLCLK_REG1, 0xef, val << 1); | 346 | SET_PORT_BITS(TLCLK_REG1, 0xdf, val << 1); |
347 | spin_unlock_irqrestore(&event_lock, flags); | 347 | spin_unlock_irqrestore(&event_lock, flags); |
348 | 348 | ||
349 | return strnlen(buf, count); | 349 | return strnlen(buf, count); |