From: Wolfram Sang Date: Wed, 28 May 2014 07:44:40 +0000 (+0200) Subject: i2c: rcar: check bus free before first message X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~5^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f7de22eb28244fc79bc744d9f51d018da343962;p=pandora-kernel.git i2c: rcar: check bus free before first message We should always check if the bus is free, independently if it is a read or write. It should be done before the first message, though. After that, we ourselves keep the bus busy. Remove a 'ret' assignment which only silenced a build warning. Signed-off-by: Wolfram Sang Acked-by: Kuninori Morimoto Acked-by: Geert Uytterhoeven Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed