Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Geert Uytterhoeven
On Fri, May 8, 2015 at 9:27 AM, Lee Jones wrote: > On Fri, 08 May 2015, Geert Uytterhoeven wrote: >> On Fri, May 8, 2015 at 8:57 AM, Lee Jones wrote: >> > On Fri, 08 May 2015, Geert Uytterhoeven wrote: >> >> On Thu, May 7, 2015 at 9:01 AM, Lee Jones wrote: >> >> >> I have a follow up question

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Lee Jones
On Fri, 08 May 2015, Geert Uytterhoeven wrote: > On Fri, May 8, 2015 at 8:57 AM, Lee Jones wrote: > > On Fri, 08 May 2015, Geert Uytterhoeven wrote: > > > >> On Thu, May 7, 2015 at 9:01 AM, Lee Jones wrote: > >> >> I have a follow up question regarding interrupt. I see many I2C bus > >> >>

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Geert Uytterhoeven
On Fri, May 8, 2015 at 8:57 AM, Lee Jones wrote: > On Fri, 08 May 2015, Geert Uytterhoeven wrote: > >> On Thu, May 7, 2015 at 9:01 AM, Lee Jones wrote: >> >> I have a follow up question regarding interrupt. I see many I2C bus >> >> drivers >> >> request interrupt with flag = 0. Why not using

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Lee Jones
On Fri, 08 May 2015, Geert Uytterhoeven wrote: > On Thu, May 7, 2015 at 9:01 AM, Lee Jones wrote: > >> I have a follow up question regarding interrupt. I see many I2C bus drivers > >> request interrupt with flag = 0. Why not using IRQF_SHARED? > > > > Probably because that particular IRQ is only

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Geert Uytterhoeven
On Thu, May 7, 2015 at 9:01 AM, Lee Jones wrote: >> I have a follow up question regarding interrupt. I see many I2C bus drivers >> request interrupt with flag = 0. Why not using IRQF_SHARED? > > Probably because that particular IRQ is only used by the I2C > Controller. I'm not exactly sure that

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Lee Jones
On Fri, 08 May 2015, Geert Uytterhoeven wrote: On Thu, May 7, 2015 at 9:01 AM, Lee Jones lee.jo...@linaro.org wrote: I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with flag = 0. Why not using IRQF_SHARED? Probably because that particular

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Geert Uytterhoeven
On Thu, May 7, 2015 at 9:01 AM, Lee Jones lee.jo...@linaro.org wrote: I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with flag = 0. Why not using IRQF_SHARED? Probably because that particular IRQ is only used by the I2C Controller. I'm not

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Lee Jones
On Fri, 08 May 2015, Geert Uytterhoeven wrote: On Fri, May 8, 2015 at 8:57 AM, Lee Jones lee.jo...@linaro.org wrote: On Fri, 08 May 2015, Geert Uytterhoeven wrote: On Thu, May 7, 2015 at 9:01 AM, Lee Jones lee.jo...@linaro.org wrote: I have a follow up question regarding interrupt. I

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Geert Uytterhoeven
On Fri, May 8, 2015 at 8:57 AM, Lee Jones lee.jo...@linaro.org wrote: On Fri, 08 May 2015, Geert Uytterhoeven wrote: On Thu, May 7, 2015 at 9:01 AM, Lee Jones lee.jo...@linaro.org wrote: I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with

Re: Why isn't IRQ shared for i2c-ocore

2015-05-08 Thread Geert Uytterhoeven
On Fri, May 8, 2015 at 9:27 AM, Lee Jones lee.jo...@linaro.org wrote: On Fri, 08 May 2015, Geert Uytterhoeven wrote: On Fri, May 8, 2015 at 8:57 AM, Lee Jones lee.jo...@linaro.org wrote: On Fri, 08 May 2015, Geert Uytterhoeven wrote: On Thu, May 7, 2015 at 9:01 AM, Lee Jones

Re: Why isn't IRQ shared for i2c-ocore

2015-05-07 Thread York Sun
On 05/07/2015 12:01 AM, Lee Jones wrote: >> I have a follow up question regarding interrupt. I see many I2C bus drivers >> request interrupt with flag = 0. Why not using IRQF_SHARED? > > Probably because that particular IRQ is only used by the I2C > Controller. I'm not exactly sure that you're

Re: Why isn't IRQ shared for i2c-ocore

2015-05-07 Thread Lee Jones
> I have a follow up question regarding interrupt. I see many I2C bus drivers > request interrupt with flag = 0. Why not using IRQF_SHARED? Probably because that particular IRQ is only used by the I2C Controller. I'm not exactly sure that you're getting at? Why do you think it should be shared?

Re: Why isn't IRQ shared for i2c-ocore

2015-05-07 Thread Lee Jones
I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with flag = 0. Why not using IRQF_SHARED? Probably because that particular IRQ is only used by the I2C Controller. I'm not exactly sure that you're getting at? Why do you think it should be shared?

Re: Why isn't IRQ shared for i2c-ocore

2015-05-07 Thread York Sun
On 05/07/2015 12:01 AM, Lee Jones wrote: I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with flag = 0. Why not using IRQF_SHARED? Probably because that particular IRQ is only used by the I2C Controller. I'm not exactly sure that you're

Why isn't IRQ shared for i2c-ocore

2015-05-06 Thread York Sun
Lee, I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with flag = 0. Why not using IRQF_SHARED? I understand the performance concern. If there is any other reason, I want to know about it before I go too far on my driver. York -- To unsubscribe from

Why isn't IRQ shared for i2c-ocore

2015-05-06 Thread York Sun
Lee, I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with flag = 0. Why not using IRQF_SHARED? I understand the performance concern. If there is any other reason, I want to know about it before I go too far on my driver. York -- To unsubscribe from