[PATCH RESEND 0/4] i2c: mpc: Clean up clock selection

2017-12-07 Thread Arseny Solokha
This series cleans up I2C clock selection for Freescale/NXP MPC SoCs during the controller initialization for cases when clock settings are not to be preserved from the bootloader. Patch 1/4 fixes division by zero which happens during controller initialization when (1) clock frequency is not

[PATCH RESEND 0/4] i2c: mpc: Clean up clock selection

2017-12-07 Thread Arseny Solokha
This series cleans up I2C clock selection for Freescale/NXP MPC SoCs during the controller initialization for cases when clock settings are not to be preserved from the bootloader. Patch 1/4 fixes division by zero which happens during controller initialization when (1) clock frequency is not