Hello,

On Tue, Dec 02, 2025 at 03:09:20PM +0100, Uwe Kleine-König wrote:
> diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c
> index 0f0a5067f109..6bc163d2ca49 100644
> --- a/drivers/bus/fsl-mc/fsl-mc-bus.c
> +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c
> [...]
> +static void fsl_mc_shutdown(struct device *dev)
> +{
> +     struct fsl_mc_driver *mc_drv = to_fsl_mc_driver(dev->driver);
> +     struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev);
> +
> +     if (mc_drv->shutdown)
> +             mc_drv->shutdown(mc_dev);
> +}

As the bus callback for shutdown is also called for unbound devices, the
condition has to be

        if (dev->driver && mc_drv->shutdown)
                
Can you please squash this in, or should I resend?

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature

Reply via email to