drm/radeon/kms/pm: fix segfault in clock code
Make sure we have a crtc assigned to the encoder
before dereferencing it.
Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
Showing
想要评论请 注册 或 登录
Make sure we have a crtc assigned to the encoder
before dereferencing it.
Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>