]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: fix tv module parameter
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 1 Sep 2010 21:15:06 +0000 (17:15 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 2 Sep 2010 01:29:04 +0000 (11:29 +1000)
commita6d08fbd141f4cd50d27c25b6277f6690ef3edbf
tree3af910211fc9bb85582aa292081e0fcd7b502159
parentdc260fd15a7294640e9c35ea44d7ee909963fad5
drm/radeon/kms: fix tv module parameter

The tv parameter was added to disable the tv-out connector,
however, it caused a crash if it was set to 0 due to
drm_connector_init not getting called.  If tv=0, don't
attempt to add the connector.

Might fix:
https://bugzilla.kernel.org/show_bug.cgi?id=17241

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c