mirror of https://gitee.com/openkylin/linux.git
i2c: omap: add blank lines
trivial patch to aid readability. No functional changes. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
This commit is contained in:
parent
2049b5bcdd
commit
c55edb9902
|
@ -786,6 +786,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
|
||||||
dev_err(dev->dev, "Arbitration lost\n");
|
dev_err(dev->dev, "Arbitration lost\n");
|
||||||
err |= OMAP_I2C_STAT_AL;
|
err |= OMAP_I2C_STAT_AL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ProDB0017052: Clear ARDY bit twice
|
* ProDB0017052: Clear ARDY bit twice
|
||||||
*/
|
*/
|
||||||
|
@ -798,6 +799,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
|
||||||
omap_i2c_complete_cmd(dev, err);
|
omap_i2c_complete_cmd(dev, err);
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stat & (OMAP_I2C_STAT_RRDY | OMAP_I2C_STAT_RDR)) {
|
if (stat & (OMAP_I2C_STAT_RRDY | OMAP_I2C_STAT_RDR)) {
|
||||||
u8 num_bytes = 1;
|
u8 num_bytes = 1;
|
||||||
|
|
||||||
|
@ -844,6 +846,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
|
||||||
stat & (OMAP_I2C_STAT_RRDY | OMAP_I2C_STAT_RDR));
|
stat & (OMAP_I2C_STAT_RRDY | OMAP_I2C_STAT_RDR));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stat & (OMAP_I2C_STAT_XRDY | OMAP_I2C_STAT_XDR)) {
|
if (stat & (OMAP_I2C_STAT_XRDY | OMAP_I2C_STAT_XDR)) {
|
||||||
u8 num_bytes = 1;
|
u8 num_bytes = 1;
|
||||||
if (dev->fifo_size) {
|
if (dev->fifo_size) {
|
||||||
|
@ -891,10 +894,12 @@ omap_i2c_isr(int this_irq, void *dev_id)
|
||||||
stat & (OMAP_I2C_STAT_XRDY | OMAP_I2C_STAT_XDR));
|
stat & (OMAP_I2C_STAT_XRDY | OMAP_I2C_STAT_XDR));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stat & OMAP_I2C_STAT_ROVR) {
|
if (stat & OMAP_I2C_STAT_ROVR) {
|
||||||
dev_err(dev->dev, "Receive overrun\n");
|
dev_err(dev->dev, "Receive overrun\n");
|
||||||
dev->cmd_err |= OMAP_I2C_STAT_ROVR;
|
dev->cmd_err |= OMAP_I2C_STAT_ROVR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stat & OMAP_I2C_STAT_XUDF) {
|
if (stat & OMAP_I2C_STAT_XUDF) {
|
||||||
dev_err(dev->dev, "Transmit underflow\n");
|
dev_err(dev->dev, "Transmit underflow\n");
|
||||||
dev->cmd_err |= OMAP_I2C_STAT_XUDF;
|
dev->cmd_err |= OMAP_I2C_STAT_XUDF;
|
||||||
|
|
Loading…
Reference in New Issue