Re: multiple i2c-ocores adapters

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

 



>>>>> "York" == York Sun <yorksun@xxxxxxxxxxxxx> writes:

Hi,

>> I guess your problem is that the driver core is complaining about
 >> duplicate names for your platform devices (generated from the
 >> mfd_cell). Make sure you set the .id member to something unique.

 > What I got was

 > sysfs: cannot create duplicate filename '/bus/platform/devices/ocores-i2c'

 > I think it is caused by the i2c-ocores driver. Will dig deeper.

Like I said, this sounds like you are trying to register multiple
platform devices with the same name (ocores-i2c) and id == -1.

Please make sure you use unique ids when you have more than 1 device
instance on your system.

-- 
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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