Skip to content
Commit 20a98acb authored by Jyri Sarha's avatar Jyri Sarha
Browse files

drm/tilcdc: Fix tilcdc component master unloading



Fix tilcdc component master unloading. If a subcomponent module
(tda998x in this case) is unloaded before its master (tilcdc in this
case), it calls drm_put_dev() and it should not be called again by
the master when its module is unloaded. However component_master_del()
must still be called and the check if the drm_put_dev() has been
called must be in component_master_ops unbind() callback, not in
platform_driver remove() callback.

Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
parent 10a55a18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment