Re: [PATCH v2 1/5] i2c: Don't start transfers when suspended

2014-09-19 Thread Wolfram Sang
On Thu, Jul 17, 2014 at 04:48:36PM +0200, Bastian Hecht wrote: > i2c transfer requests come in very uncontrolled, like from interrupt routines. > We might be suspended when this happens. To avoid i2c timeouts caused by > powered down busses we check for suspension. > > Several bus drivers handle t

Re: [PATCH v2 1/5] i2c: Don't start transfers when suspended

2014-07-22 Thread Russell King - ARM Linux
On Tue, Jul 22, 2014 at 09:46:46PM +0300, Grygorii Strashko wrote: > I'm not sure, this optimization is safe ( > Because, in many cases the access to PMIC IC needs to be allowed till late > stages of suspending (at least till suspend_noirq stage or even later). > For example, on some OMAP SoC Vol

Re: [PATCH v2 1/5] i2c: Don't start transfers when suspended

2014-07-22 Thread Grygorii Strashko
Hi On 07/17/2014 05:48 PM, Bastian Hecht wrote: > i2c transfer requests come in very uncontrolled, like from interrupt routines. > We might be suspended when this happens. To avoid i2c timeouts caused by > powered down busses we check for suspension. > > Several bus drivers handle this problem on

Re: [PATCH v2 1/5] i2c: Don't start transfers when suspended

2014-07-17 Thread Wolfram Sang
On Thu, Jul 17, 2014 at 04:58:17PM +0200, Bastian Hecht wrote: > I want to add the remark that I can't help further on the patch series > in the next month about. So this is free to be taken/ignored/modified > without any approval by my side. Good to know. I'd like to get some Tested-by tags befor

Re: [PATCH v2 1/5] i2c: Don't start transfers when suspended

2014-07-17 Thread Bastian Hecht
I want to add the remark that I can't help further on the patch series in the next month about. So this is free to be taken/ignored/modified without any approval by my side. Have fun coding, Bastian 2014-07-17 16:48 GMT+02:00 Bastian Hecht : > i2c transfer requests come in very uncontrolled, l