commit | 4fda99627dc037d3b316c3b3250075645cfcbe4d | [log] [tgz] |
---|---|---|
author | Maxime COQUELIN <maxime.coquelin@st.com> | Fri Feb 28 13:52:56 2014 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Mar 10 17:35:08 2014 +0100 |
tree | 470cf4319541d41a2300f8a2826f83eb1b2e2aee | |
parent | cd5006db1b6b9128d1f5b0f1ad17cbced9d3841c [diff] |
i2c: st: Fix return in case of arbitration lost This patch fixes the error returned to the i2c_transfer function to -EAGAIN in case of arbitratin lost, so that the retry mechanism can be used. Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>