1 From: Russell King <rmk+kernel@armlinux.org.uk>
2 Bcc: linux@mail.armlinux.org.uk
3 Subject: [PATCH 3/7] i2c: pxa: ensure timeout messages are unique
5 Content-Disposition: inline
6 Content-Transfer-Encoding: 8bit
7 Content-Type: text/plain; charset="utf-8"
9 Ensure that the various timeout messages can identify where in the code
10 they were produced from to aid debugging.
12 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
14 drivers/i2c/busses/i2c-pxa.c | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
17 --- a/drivers/i2c/busses/i2c-pxa.c
18 +++ b/drivers/i2c/busses/i2c-pxa.c
19 @@ -1054,7 +1054,7 @@ static int i2c_pxa_do_xfer(struct pxa_i2
22 if (!timeout && i2c->msg_num) {
23 - i2c_pxa_scream_blue_murder(i2c, "timeout");
24 + i2c_pxa_scream_blue_murder(i2c, "timeout with active message");
28 @@ -1124,7 +1124,7 @@ static int i2c_pxa_pio_set_master(struct
31 dev_err(&i2c->adap.dev,
32 - "i2c_pxa: timeout waiting for bus free\n");
33 + "i2c_pxa: timeout waiting for bus free (set_master)\n");
37 @@ -1168,7 +1168,7 @@ static int i2c_pxa_do_pio_xfer(struct px
41 - i2c_pxa_scream_blue_murder(i2c, "timeout");
42 + i2c_pxa_scream_blue_murder(i2c, "timeout (do_pio_xfer)");