Re: [PATCH v4] regulator: core: Limit propagation of parent voltage count and list

From: Javier Martinez Canillas
Date: Mon Mar 27 2017 - 20:03:36 EST


Hello Matthias,

On 03/27/2017 07:54 PM, Matthias Kaehlcke wrote:
> Commit 26988efe11b1 ("regulator: core: Allow to get voltage count and
> list from parent") introduces the propagation of the parent voltage
> count and list for regulators that don't provide this information
> themselves. The goal is to support simple switch regulators, however as
> a side effect normal continuous regulators can leak details of their
> supplies and provide consumers with inconsistent information.
>
> Limit the propagation of the voltage count and list to switch
> regulators.
>
> Fixes: 26988efe11b1 ("regulator: core: Allow to get voltage count and
> list from parent")
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>

You should had carried collected tags since this version is almost
identical to the previous one, but for reference here are again:

Reviewed-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
Tested-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>

Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America