Re: [PATCH] ARM: davinci: clock: return 0 upon error from clk_round_rate()

2013-11-27 Thread Sekhar Nori
On Wednesday 27 November 2013 06:26 AM, Paul Walmsley wrote: clk_round_rate() should return 0 now upon an error, rather than returning a negative error code. This is because clk_round_rate() is being changed to return an unsigned return type rather than a signed type, since some clock

Re: [PATCH] i2c: davinci: raw read and write endian fix

2013-11-27 Thread Wolfram Sang
On Wed, Nov 20, 2013 at 08:23:44PM +0200, Taras Kondratiuk wrote: I2C IP block expect LE data, but CPU may operate in BE mode. Need to use endian neutral functions to read/write h/w registers. I.e instead of __raw_read[lw] and __raw_write[lw] functions code need to use read[lw]_relaxed and

[PATCH] ARM: Kill CONFIG_MTD_PARTITIONS

2013-11-27 Thread Eunbong Song
This patch removes CONFIG_MTD_PARTITIONS in config files for ARM. Because CONFIG_MTD_PARTITIONS was removed by commit 6a8a98b22b10f1560d5f90aded4a54234b9b2724. --- arch/arm/configs/acs5k_defconfig|1 - arch/arm/configs/acs5k_tiny_defconfig |1 -

[PATCH] ARM: davinci: clock: return 0 upon error from clk_round_rate()

2013-11-27 Thread Paul Walmsley
clk_round_rate() should return 0 now upon an error, rather than returning a negative error code. This is because clk_round_rate() is being changed to return an unsigned return type rather than a signed type, since some clock sources can generate rates higher than (2^31)-1 Hz.