Re: RESEND:i2c-eg20t: fix race between i2c init and interrupt enable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> it seems to me so uncomfortable. how do you like it?
> 
> for (all_channels)
> 	do_initialization
> 
> request_irq()
> 
> for (all_channels) {
> 	 pch_i2c_init  /* Enable interrupts at end of function*/
> 	 register_adapter
> }

Thanks for the correction. This would be still my preferred solution.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux