Re: [PATCH] i2c: davinci: fix the cpufreq transition

2018-01-23 Thread Wolfram Sang
On Mon, Jan 22, 2018 at 03:42:58PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > i2c_davinci_cpufreq_transition() is implemented in a way that will > block if it ever gets called while no transfer is in progress. > > Not only that, but reinit_completion() is never called for

Re: [PATCH] i2c: davinci: fix the cpufreq transition

2018-01-23 Thread David Lechner
On 01/22/2018 08:42 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski i2c_davinci_cpufreq_transition() is implemented in a way that will block if it ever gets called while no transfer is in progress. Not only that, but reinit_completion() is never called for xfr_complete. Use the fact

Re: [PATCH] i2c: davinci: fix the cpufreq transition

2018-01-23 Thread Sekhar Nori
On Monday 22 January 2018 08:12 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > i2c_davinci_cpufreq_transition() is implemented in a way that will > block if it ever gets called while no transfer is in progress. true! > > Not only that, but reinit_completion() is never called fo