From: Wolfram Sang Date: Mon, 18 May 2015 19:09:12 +0000 (+0200) Subject: i2c: apply address offset for slaves, too X-Git-Tag: omap-for-v4.3/fixes-rc1~62^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da899f55b359225f85e154765baaddb13ec436ca;p=pandora-kernel.git i2c: apply address offset for slaves, too We want a separate address range for being an I2C slave. Add an offset of 0x1000, so it can be combined with ten bit addresses as well. Add a separate function to create the address value, we will need it later in other places. Tested-by: Andrey Danin Acked-by: Stephen Warren Signed-off-by: Wolfram Sang Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed