Hi Pali,

On Sat, 27 Aug 2022 at 06:01, Pali Rohár <p...@kernel.org> wrote:
>

This patch is missing a motivation. Please always add a commit message.

> Signed-off-by: Pali Rohár <p...@kernel.org>
> ---
>  board/Marvell/mvebu_armada-37xx/board.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/board/Marvell/mvebu_armada-37xx/board.c 
> b/board/Marvell/mvebu_armada-37xx/board.c
> index 5ae133879f32..45779198b678 100644
> --- a/board/Marvell/mvebu_armada-37xx/board.c
> +++ b/board/Marvell/mvebu_armada-37xx/board.c
> @@ -132,6 +132,8 @@ int board_late_init(void)
>                 dev = mmc_dev->dev;
>                 device_remove(dev, DM_REMOVE_NORMAL);
>                 device_unbind(dev);
> +               if (of_live_active())
> +                       ofnode_set_enabled(dev_ofnode(dev), false);
>         }
>
>         /* Ensure that 'env default -a' set correct value to $fdtfile */
> --
> 2.20.1
>

Regards,
Simon

Reply via email to