Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313846
b: refs/heads/master
c: 433b588
h: refs/heads/master
v: v3
  • Loading branch information
Sonic Zhang authored and Bob Liu committed Jul 24, 2012
1 parent 6ad0747 commit 57d85bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68bcdd48a24d67f1b8345e660c603d8b24f72411
refs/heads/master: 433b58877d454f420e9d6ac1f889de80ee454df0
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/include/asm/bfin_twi.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static inline u16 read_RCV_DATA8(struct bfin_twi_iface *iface)
unsigned long flags;

flags = hard_local_irq_save();
ret = iface->regs_base->rcv_data8;
ret = bfin_read16(&iface->regs_base->rcv_data8);
hard_local_irq_restore(flags);

return ret;
Expand All @@ -106,7 +106,7 @@ static inline u16 read_RCV_DATA16(struct bfin_twi_iface *iface)
unsigned long flags;

flags = hard_local_irq_save();
ret = iface->regs_base->rcv_data16;
ret = bfin_read16(&iface->regs_base->rcv_data16);
hard_local_irq_restore(flags);

return ret;
Expand Down

0 comments on commit 57d85bc

Please sign in to comment.