Skip to content

Commit a09ab7e

Browse files
mark grossLinus Torvalds
authored andcommitted
[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>
1 parent da206c9 commit a09ab7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/char/tlclk.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ static ssize_t store_received_ref_clk3b(struct device *d,
343343

344344
val = (unsigned char)tmp;
345345
spin_lock_irqsave(&event_lock, flags);
346-
SET_PORT_BITS(TLCLK_REG1, 0xef, val << 1);
346+
SET_PORT_BITS(TLCLK_REG1, 0xdf, val << 1);
347347
spin_unlock_irqrestore(&event_lock, flags);
348348

349349
return strnlen(buf, count);

0 commit comments

Comments
 (0)