[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090210151902.GA31365@sirena.org.uk>
Date: Tue, 10 Feb 2009 15:19:03 +0000
From: Mark Brown <broonie@...ena.org.uk>
To: Kalle Jokiniemi <kalle.jokiniemi@...ia.com>
Cc: David Brownell <david-b@...bell.net>,
Liam Girdwood <lrg@...mlogic.co.uk>,
lkml <linux-kernel@...r.kernel.org>, linux-usb@...r.kernel.org,
OMAP <linux-omap@...r.kernel.org>
Subject: Re: [patch 2.6.29-rc3-git 2/2] USB: disable twl4030 USB regulators when cable unplugged
On Tue, Feb 10, 2009 at 03:08:14PM +0200, Kalle Jokiniemi wrote:
> A bug has been discovered here. If the twl-regulator is not compiled in,
> the twl4030-usb fails while trying to access the reg-fw interfaces (and
reg-fw is the regulator framework?
> not checking error values). Also it's bit confusing how we get different
> error values if reg_fw is not compiled (no error) vs. reg_fw is
> compiled, but twl_regulator is not... (error)
The general model is that if you've got regulator API support enabled
then you'll have the relevant regulator drivers enabled. The support
for compiling out the core is intended to allow configurations that
don't use regulators at all. This is a bit restrictive but works well
for most users.
--
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