Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358784
b: refs/heads/master
c: 876ae85
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang committed Jan 28, 2013
1 parent 1f60830 commit 090b0cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 24e9e157d5197e469a414d0f52ce04e8b539a715
refs/heads/master: 876ae85c8b811668c2c115ea78c2241f562977fb
9 changes: 3 additions & 6 deletions trunk/drivers/i2c/busses/i2c-nomadik.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,7 @@ static void setup_i2c_controller(struct nmk_i2c_dev *dev)
static int read_i2c(struct nmk_i2c_dev *dev, u16 flags)
{
u32 status = 0;
u32 mcr;
u32 irq_mask = 0;
u32 mcr, irq_mask;
int timeout;

mcr = load_i2c_mcr_reg(dev, flags);
Expand Down Expand Up @@ -482,8 +481,7 @@ static void fill_tx_fifo(struct nmk_i2c_dev *dev, int no_bytes)
static int write_i2c(struct nmk_i2c_dev *dev, u16 flags)
{
u32 status = 0;
u32 mcr;
u32 irq_mask = 0;
u32 mcr, irq_mask;
int timeout;

mcr = load_i2c_mcr_reg(dev, flags);
Expand Down Expand Up @@ -731,8 +729,7 @@ static irqreturn_t i2c_irq_handler(int irq, void *arg)
struct nmk_i2c_dev *dev = arg;
u32 tft, rft;
u32 count;
u32 misr;
u32 src = 0;
u32 misr, src;

/* load Tx FIFO and Rx FIFO threshold values */
tft = readl(dev->virtbase + I2C_TFTR);
Expand Down

0 comments on commit 090b0cf

Please sign in to comment.