Re: [PATCH-V2 3/3] RTC:s35390a: Add update_irq (per Min interrupt) support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, August 23, 2010 - 4:43 pm

On Sat, 21 Aug 2010 18:00:29 +0530
hvaibhav@ti.com wrote:


grumble.  We bit-reverse it, fiddle a couple of bits and then
bit-reverse it again.  Lazy.

Why not leave it bit-reversed and just bit-reverse the constants? 
Extra marks are awarded for coming up with a compile-time bitrev8() ;)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH-V2 3/3] RTC:s35390a: Add update_irq (per Min in ..., Andrew Morton, (Mon Aug 23, 4:43 pm)