diff options
author | Jyri Sarha <jsarha@ti.com> | 2016-06-23 11:07:16 +0300 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-08-08 23:04:57 +0300 |
commit | 20a98acba5baf925d0d6fb334f1c55aa2ca7a708 (patch) | |
tree | b1102fe262e4aabc7a76f9488b1100fbbb8b08a8 /drivers/gpu/drm/tilcdc/tilcdc_crtc.c | |
parent | 10a55a18f50136fe7229ad9a3dea4f7c2d387f6a (diff) |
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: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_crtc.c')
0 files changed, 0 insertions, 0 deletions