i2c: sh_mobile: fix timeout error handling
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 17 Jan 2013 09:45:55 +0000 (10:45 +0100)
committerWolfram Sang <wolfram@the-dreams.de>
Sun, 10 Feb 2013 18:55:23 +0000 (19:55 +0100)
commit5687265b3127024089dc0b25956772405b9f53d3
tree1b88a79fedd263c782dbccb6a1fcc52691465088
parent05cf936846ca6aef1b34ba26054728fdbc154558
i2c: sh_mobile: fix timeout error handling

In a timeout case return an error immediately from the driver's
.master_xfer() method, instead of continuing and letting higher layers
fail.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c
This page took 0.031173 seconds and 5 git commands to generate.