Re: [PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-22 Thread Wolfram Sang
On Fri, Mar 15, 2013 at 09:04:08PM +0530, Laxman Dewangan wrote: > NVIDIA's Tegra SoC allows read/write of controller register only > if controller clock is enabled. System hangs if read/write happens > to registers without enabling clock. > > clk_prepare_enable() can be fail due to unknown

Re: [PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-22 Thread Wolfram Sang
On Fri, Mar 15, 2013 at 09:04:08PM +0530, Laxman Dewangan wrote: NVIDIA's Tegra SoC allows read/write of controller register only if controller clock is enabled. System hangs if read/write happens to registers without enabling clock. clk_prepare_enable() can be fail due to unknown reason and

Re: [PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-15 Thread Stephen Warren
On 03/15/2013 09:34 AM, Laxman Dewangan wrote: > NVIDIA's Tegra SoC allows read/write of controller register only > if controller clock is enabled. System hangs if read/write happens > to registers without enabling clock. > > clk_prepare_enable() can be fail due to unknown reason and hence >

[PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-15 Thread Laxman Dewangan
NVIDIA's Tegra SoC allows read/write of controller register only if controller clock is enabled. System hangs if read/write happens to registers without enabling clock. clk_prepare_enable() can be fail due to unknown reason and hence adding check for return value of this function. If this

[PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-15 Thread Laxman Dewangan
NVIDIA's Tegra SoC allows read/write of controller register only if controller clock is enabled. System hangs if read/write happens to registers without enabling clock. clk_prepare_enable() can be fail due to unknown reason and hence adding check for return value of this function. If this

Re: [PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-15 Thread Stephen Warren
On 03/15/2013 09:34 AM, Laxman Dewangan wrote: NVIDIA's Tegra SoC allows read/write of controller register only if controller clock is enabled. System hangs if read/write happens to registers without enabling clock. clk_prepare_enable() can be fail due to unknown reason and hence adding