diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2008-11-21 13:39:45 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-11-21 13:39:45 -0800 |
commit | b7af349b175af45f9d87b3bf3f0a221e1831ed39 (patch) | |
tree | 7e16c8dcaba34764b9e60e42c437a068c5941601 /sound | |
parent | 13d428afc007fcfcd6deeb215618f54cf9c0cae6 (diff) | |
download | op-kernel-dev-b7af349b175af45f9d87b3bf3f0a221e1831ed39.zip op-kernel-dev-b7af349b175af45f9d87b3bf3f0a221e1831ed39.tar.gz |
i2c-omap: Do not use interruptible wait call in omap_i2c_xfer_msg
If there is a signal pending and wait_for_completion_interruptible_timeout
terminates with -ERESTARTSYS, we return and disable the i2c clocks in
omap_i2c_xfer.
If we terminate before sending last i2c message with a stop condition, the
bus remains busy and we are not able to send new messages into bus with
successive omap_i2c_xfer calls. Therefore a pending signal is not caught
here and we return only because of timeout or i2c error.
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions