[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 5 May 2011 09:16:33 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Liam Girdwood <lrg@...mlogic.co.uk>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Duplicate regulator sysfs files..
On Wed, May 04, 2011 at 04:39:11PM -0700, Linus Torvalds wrote:
> appended is a report from Werner Landgraf <w.landgraf@...ru> who
> builds a kernel with pretty much everything enabled, and forwarded
> this from one of his testers.
> Comments? Why does that "supply vmmc not found, using dummy regulator"
> message show up twice? And apparently it tries to register it both
> times, which on the second try results in a WARN_ON() from sysfs..
Yes, this is a bug in the consumer driver - it's requesting the same
supply twice for the same device, causing the regulator API to try to
set the supply up twice. It should only be requesting it once. Ideally
the API should reject the second get() but the user is buggy anyway.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists