From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH] i2c: mux: create proper topology in sysfs Date: Mon, 3 Nov 2014 14:49:08 -0800 Message-ID: <20141103224908.GA18594@roeck-us.net> References: <1414960809-16860-1-git-send-email-wsa@the-dreams.de> <20141103205534.GA18937@roeck-us.net> <20141103210200.GA6242@katana> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20141103210200.GA6242@katana> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Wolfram Sang Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Gerlando Falauto , Jean Delvare , Martin Belanger , Rodolfo Giometti , Michael Lawnick , Jeroen De Wachter List-Id: linux-i2c@vger.kernel.org On Mon, Nov 03, 2014 at 10:02:00PM +0100, Wolfram Sang wrote: > > > + WARN(sysfs_create_link(&parent->dev.kobj, &priv->adap.dev.kobj, priv->adap.dev.kobj.name), > > > + "can't create compatibility link for old mux name scheme\n"); > > > + > > Something seems to be wrong with the linking. > > > > I get lots of messages such as > > > > sysfs: cannot create duplicate filename > > '/devices/fff70a000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:09.0/0000:10:00.0/i2c-sam.16/i2c-88/i2c-89' > > > > followed by "can't create compatibility link for old mux name scheme". > > What is your muxing setup? > Ok, I think I know the problem. In my case, the parent adapter and the mux device are the same (since both are on the same chip and the mux is really merged into the i2c controller). I'll have to figure out how to fix that. Guenter