Re: [PATCH] regulator: Fix recursive mutex lockdep warning

From: Mark Brown
Date: Tue Jul 03 2012 - 18:43:22 EST

On Tue, Jul 03, 2012 at 01:08:46PM -0700, Stephen Boyd wrote:
> On 07/03/12 12:26, Mark Brown wrote:

> > Applied, thanks. Though we should probably just remove the optimal mode
> > stuff on account of the total absence of any users...

> Please don't remove it. We use the optimal stuff fairly often
> internally, plus our usb driver is upstream and using the API.

>From what I remember there's a fair bit of non-upstream code you guys
have for regulators... your usage is certainly very unusual.

> What do you think about removing the locking in get_voltage? Is that better?

There's already an unlocked version of get_voltage()?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at