On Wed, Jun 01, 2022 at 05:15:37PM +0800, Laurent Pinchart wrote: >> Well, as far as I am concerned, the adv7511_exit() in the same file has already dealt with the issue. >> Therefore, it might not be necessary to add another mipi_dsi_driver_unregister(). > > The issue is that adv7511_exit() is not called if adv7511_init() fails. Sorry, I can not find the caller of adv7511_init(). Please give me more detail. Thanks, Jiang