Re: Questions about drivers/mfd/mfd-core.c

From: Lee Jones
Date: Tue Sep 22 2020 - 05:04:03 EST

On Mon, 21 Sep 2020, 冯锐 wrote:

> Hi Jones,
> I have a question about drivers/mfd/mfd-core.c and need your help.
> The driver in drivers/misc/cardreader/rtsx_pcr.c call 'mfd_add_devices' and 'mfd_remove_devices' in probe and remove functions
> Before Linus 5.9-rc1, the two functions can run properly, but in Linus 5.9-rc1 when I unplug the cardreader 'mfd_remove_devices' will lead to a kernel bug like below:

The problem should be fixed in Mainline.

Please upgrade your kernel to the latest -rc.

Lee Jones [李琼斯]
Senior Technical Lead - Developer Services │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog