i2c: imx: Take mx6dqp in consideration in the I2C_PADS_INFO macro
Subsystems (2)
PATCH 2/2 i2c: imx: Take mx6dqp in consideration in the I2C_PADS_INFO macro
We should take the MX6DP and MX6QP options in consideration in the I2C_PADS_INFO macro.
Based on a patch by Pierluigi Passaro <[email protected]>
Signed-off-by Eran Matityahu <[email protected]>
--- arch/arm/include/asm/mach-imx/mxc_i2c.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/include/asm/mach-imx/mxc_i2c.h +1 -2
@@ -88,8 +88,7 @@ struct mxc_i2c_bus {#define I2C_PADS_INFO (name) \ - (is_cpu_type(MXC_CPU_MX6Q) || is_cpu_type(MXC_CPU_MX6D)) ? \ - &mx6q_##name : &mx6s_##name + (is_mx6dq() || is_mx6dqp()) ? &mx6q_##name : &mx6s_##name#endif int setup_i2c(unsigned i2c_index, int speed, int slave_addr,
Signature · 1 line
1.9.1
Fabio Estevam
reviewerPATCH 2/2 i2c: imx: Take mx6dqp in consideration in the I2C_PADS_INFO macro
Quoted 6 lines · Eran Matityahu
We should take the MX6DP and MX6QP options in consideration in the
I2C_PADS_INFOmacro.Based on a patch by Pierluigi Passaro <[email protected]>
Signed-off-by Eran Matityahu <[email protected]>
Reviewed-by Fabio Estevam <[email protected]>