]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: remove drm_mode_connector_detach_encoder harder
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 15 Mar 2014 11:11:54 +0000 (12:11 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 15 Mar 2014 11:11:54 +0000 (12:11 +0100)
commit53030af86ce7551903314fbf3777f7d9cdaebcca
tree513eb498caefcc16dbdf3dd6445f57c3aef855b7
parent59a8edc4cecef8b2f427469ae48c4a3c5e0038a4
drm/imx: remove drm_mode_connector_detach_encoder harder

Since the last time I've looked more of this stuff sprouted up. Stomp
it down again.

Repeating the original justification for ripping this all out: There's
absolutely no need to deteach connectors before cleaning them up at
driver unload time. And since drm doesn't support hotplugging kms
objects at all it's positively dangerous to attempt this at runtime.
Luckily imx only detachs at driver cleanup time and hence we can
savely remove this.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/staging/imx-drm/imx-hdmi.c
drivers/staging/imx-drm/imx-tve.c