radeon_hd: Fix oops in hrev43880

This commit is contained in:
Alexander von Gluck IV 2012-03-22 16:18:09 -05:00
parent d07afea357
commit 67da9f0716

View File

@ -297,7 +297,7 @@ encoder_mode_set(uint8 id, uint32 pixelClock)
encoder_analog_setup(connectorIndex, pixelClock, ATOM_ENABLE);
if (info.dceMajor < 5) {
// TV encoder was dropped in DCE 5
if ((encoderFlags & ATOM_DEVICE_TV_SUPPORT != 0)
if ((encoderFlags & ATOM_DEVICE_TV_SUPPORT) != 0
|| (encoderFlags & ATOM_DEVICE_CV_SUPPORT) != 0) {
encoder_tv_setup(connectorIndex, pixelClock, ATOM_ENABLE);
} else {