[PATCHi v2] i2c-omap: fix am33xx and omap3 fclk_rate

Sascha Hauer s.hauer at pengutronix.de
Sat Aug 31 06:03:48 EDT 2013


On Fri, Aug 30, 2013 at 02:45:32PM +0200, Jan Weitzel wrote:
> commit f64ed12b accidentally swap fclk_rate from am33xx and omap3.
> Revert this change.
> 
> Signed-off-by: Jan Weitzel <j.weitzel at phytec.de>

Applied, thanks

Sascha

> ---
> v2:
> Fix also omap3 fclk_rate
> Rename patch "i2c-omap: fix am33xx fclk_rate"
> 
>  drivers/i2c/busses/i2c-omap.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
> index b2a74c0..2eb5133 100644
> --- a/drivers/i2c/busses/i2c-omap.c
> +++ b/drivers/i2c/busses/i2c-omap.c
> @@ -246,7 +246,7 @@ struct omap_i2c_driver_data {
>  static struct omap_i2c_driver_data omap3_data = {
>  	.flags =	OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
>  			OMAP_I2C_FLAG_BUS_SHIFT_2,
> -	.fclk_rate =	48000,
> +	.fclk_rate =	96000,
>  	.regs =		(u8 *) reg_map,
>  };
>  
> @@ -259,7 +259,7 @@ static struct omap_i2c_driver_data omap4_data = {
>  static struct omap_i2c_driver_data am33xx_data = {
>  	.flags =	OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
>  			OMAP_I2C_FLAG_BUS_SHIFT_NONE,
> -	.fclk_rate =	96000,
> +	.fclk_rate =	48000,
>  	.regs =		(u8 *) omap4_reg_map,
>  };
>  
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list