From: Peter Korsgaard <peter@korsgaard.com>
To: York Sun <yorksun@freescale.com>
Cc: Peter Korsgaard <jacmet@sunsite.dk>,
Wolfram Sang <wsa@the-dreams.de>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>
Subject: Re: multiple i2c-ocores adapters
Date: Fri, 02 Oct 2015 22:51:23 +0200 [thread overview]
Message-ID: <87zj01dmes.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <560ED6D3.40901@freescale.com> (York Sun's message of "Fri, 2 Oct 2015 12:11:15 -0700")
>>>>> "York" == York Sun <yorksun@freescale.com> 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
prev parent reply other threads:[~2015-10-02 20:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 5:47 multiple i2c-ocores adapters York Sun
2015-10-02 6:03 ` Peter Korsgaard
2015-10-02 19:11 ` York Sun
2015-10-02 20:51 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zj01dmes.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=jacmet@sunsite.dk \
--cc=linux-i2c@vger.kernel.org \
--cc=wsa@the-dreams.de \
--cc=yorksun@freescale.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox