Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b28ea411 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

drm/radeon/kms/r1xx: enable hw i2c



fixing the i2c prescale in the last patch
gets it working on r1xx.

Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 96a4c8d5
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -531,10 +531,7 @@ static struct radeon_i2c_bus_rec combios_setup_i2c_bus(struct radeon_device *rde
	case CHIP_RS300:
	case CHIP_RS300:
		switch (ddc_line) {
		switch (ddc_line) {
		case RADEON_GPIO_DVI_DDC:
		case RADEON_GPIO_DVI_DDC:
			/* in theory this should be hw capable,
			i2c.hw_capable = true;
			 * but it doesn't seem to work
			 */
			i2c.hw_capable = false;
			break;
			break;
		default:
		default:
			i2c.hw_capable = false;
			i2c.hw_capable = false;