blackfin RTC driver: wait for the write complete interrupt complete before sleeping
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 5 Aug 2008 20:01:20 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Aug 2008 21:33:48 +0000 (14:33 -0700)
commit140fab14aef093cedf87f69234474c04fdcec99c
tree6b7f39dfb95a8db26296e621292b4ff2783ab092
parent3b128fe04a3087d6e974b87402dc6e75d3142186
blackfin RTC driver: wait for the write complete interrupt complete before sleeping

Since we use the write complete interrupt, wait for it
to complete before sleeping so we don't wake right back up due to it

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-bfin.c