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

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 > >> >> driv

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 IRQ

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

2015-05-07 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-07 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 y

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?

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 t