drm/radeon/kms/atom: fix PHY init
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 3 Jun 2011 20:39:06 +0000 (16:39 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 5 Jun 2011 06:34:13 +0000 (16:34 +1000)
commitf3aeceac61b6e2f3167717ea1793472108e47564
tree53548d8928108f10f772f02899fab7199e2625a4
parentfe6f0bd03d697835e76dd18d232ba476c65b8282
drm/radeon/kms/atom: fix PHY init

The PHY was not initialized correctly after
ac89af1e1010640db072416c786f97391b85790f since
the function bailed early as an encoder was not
assigned.  The encoder isn't necessary for PHY init
so just assign to 0 for init so that the table
is executed.

Reported-by: Ari Savolainen <ari.m.savolainen@gmail.com>
Tested-by: Ari Savolainen <ari.m.savolainen@gmail.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_encoders.c