ODROID-N2: Remove logic for check I2C module loaded

Change-Id: I94bf3f5f40c4674c8a7d08b14f87833165d4a173
This commit is contained in:
joshua-yang
2019-01-09 13:41:47 +09:00
parent 827072123b
commit efd0df390c

View File

@@ -284,11 +284,7 @@ static int getModeToGpio (int mode, int pin)
return -1;
}
/* To check I2C module loaded */
if (moduleLoaded(AML_MODULE_I2C) && (retPin == 205 || retPin == 206))
return -1;
else
return retPin;
return retPin;
}
/*----------------------------------------------------------------------------*/