]> git.baikalelectronics.ru Git - kernel.git/commit
I2C: OMAP: prevent the overwrite of the errata flags
authorTasslehoff Kjappfot <tasskjapp@gmail.com>
Tue, 29 May 2012 10:56:20 +0000 (16:26 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Sun, 8 Jul 2012 10:49:14 +0000 (12:49 +0200)
commitc76bd1ad7a06e93434660693d9dfc048c502a2e8
treef045e2b122e4d147b5ef5d7c5e7ad0adee18a2ed
parentc47de938d269613e2ed56c9cf5e0867fb9dc847e
I2C: OMAP: prevent the overwrite of the errata flags

i2c_probe set the dev->errata flag, but omap_i2c_init cleared the flag again.
Prevent the overwrite of the errata flags.Move the errata handling to a unified
place in probe to prevent such errors.

Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tasslehoff Kjappfot <tasskjapp@gmail.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c