From: mark gross Date: Fri, 23 Jun 2006 22:13:07 +0000 (-0700) Subject: [PATCH] type-oh bug in tlclk.c X-Git-Tag: v2.6.18-rc1~597 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a09ab7e2fcd22f0490a270bb310536c651d53cb9;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Linus Torvalds --- 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, 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);