Skip to content

Commit

Permalink
[PATCH] type-oh bug in tlclk.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mark gross authored and Linus Torvalds committed Jun 26, 2006
1 parent da206c9 commit a09ab7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/tlclk.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static ssize_t store_received_ref_clk3b(struct device *d,

val = (unsigned char)tmp;
spin_lock_irqsave(&event_lock, flags);
SET_PORT_BITS(TLCLK_REG1, 0xef, val << 1);
SET_PORT_BITS(TLCLK_REG1, 0xdf, val << 1);
spin_unlock_irqrestore(&event_lock, flags);

return strnlen(buf, count);
Expand Down

0 comments on commit a09ab7e

Please sign in to comment.