Skip to content
Snippets Groups Projects
Commit 9aa8ec67 authored by Tasslehoff Kjappfot's avatar Tasslehoff Kjappfot Committed by Wolfram Sang
Browse files

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: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarTasslehoff Kjappfot <tasskjapp@gmail.com>
Signed-off-by: default avatarShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent 3b0fb97c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment