Commit a09ab7e2 authored by mark gross's avatar mark gross Committed by Linus Torvalds

[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: default avatarMark Gross <mark.gross@intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent da206c9e
...@@ -343,7 +343,7 @@ static ssize_t store_received_ref_clk3b(struct device *d, ...@@ -343,7 +343,7 @@ static ssize_t store_received_ref_clk3b(struct device *d,
val = (unsigned char)tmp; val = (unsigned char)tmp;
spin_lock_irqsave(&event_lock, flags); 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); spin_unlock_irqrestore(&event_lock, flags);
return strnlen(buf, count); return strnlen(buf, count);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment