i2c: omap: use revision check for OMAP_I2C_FLAG_APPLY_ERRATA_I207
authorShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 5 Nov 2012 12:23:37 +0000 (17:23 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 14 Nov 2012 16:44:39 +0000 (17:44 +0100)
commita748021ccbd2bb9b2b818a7fc67b19187d04bdf2
tree4dbd0afa20f74b3139315e996d4c780403cf5af8
parent47dcd0161a0b37bf0299473585fc5030d3f45b64
i2c: omap: use revision check for OMAP_I2C_FLAG_APPLY_ERRATA_I207

The errata i207 is enabled for 2430 and 3xxx. Use the revision check
to enable the erratum instead.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c