i2c: apply DT flags when probing
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 19 May 2015 19:04:40 +0000 (21:04 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 24 Aug 2015 12:05:14 +0000 (14:05 +0200)
commitb4e2f6ac1281cd3e066919cc762eef4924e9fcc5
tree206dacd75e61cebc7c5e0e91b4de73b4e656ce84
parentc4019b7040eaf88f440ce5212e055a4f19b1b541
i2c: apply DT flags when probing

Check for slave and 10-bit flags when probing and mark the client when
found. Improve the address validity check, too

Tested-by: Andrey Danin <danindrey@mail.ru>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c