i2c-designware: Check component type register
authorJean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Thu, 6 Oct 2011 18:26:26 +0000 (11:26 -0700)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:00:51 +0000 (11:00 +0100)
commit4ff895bc8b90e30ff8e89ca7bc6666b229c77e5d
treee15b340530a1cdb3254af5bb4fa43bd8cf14691f
parent7f279601c59b814314083d572e7c0df11d09cad8
i2c-designware: Check component type register

Designware component type register is checked before attaching to the device.

Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c