I2C Driver: Attach_adapter VS Probe or Detect

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

 



Hello,

I have been using the I2C driver and the driver detection routine through attach_adapter in that driver. In attach_adapter, I am calling i2c_probe i2c_core call back function for the device detection.

There is an another way of detecting the I2C device through probe routine and detect routine. 

I have looked into i2c.h and the author has mentioned that attach_adapter and detach_adapter routines are for legacy drivers.

Is attach_adapter and detach_adapter way of driver detection method okay to use?

I have been getting some issue in the SMBus through i2c-core. Do you think this could be the source of that issue?

Thanks,
Dev Null 



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux