Re: [PATCH] regulator: core: Allow multiple requests of a singlesupply mapping

From: Liam Girdwood
Date: Fri Jun 22 2012 - 14:55:54 EST


On Fri, 2012-06-22 at 11:39 +0100, Mark Brown wrote:
> Sometimes it may be useful to allow a device to request a supply multiple
> times, for example in order to allow framework management of some uses of
> the supply with some additional driver specific management or in order to
> allow multiple children of an MFD to work with the supply. Currently this
> is not possible due to the creation of
>
> Solve this by removing the requested_uA entry (we have no current users
> of this feature anyway) and ignoring errors creating the symlink to the
> consumer. We should do something nicer than this as this causes sysfs to
> spew enormous warnings but it allows users to run for now.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

Acked-by: Liam Girdwood <lrg@xxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/