drm/radeon: fix register name to match internal name
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Sep 2014 20:19:04 +0000 (16:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Oct 2014 13:00:01 +0000 (09:00 -0400)
no functional change.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/dce6_afmt.c
drivers/gpu/drm/radeon/sid.h

index ab29f95..088d19c 100644 (file)
@@ -289,7 +289,7 @@ void dce6_audio_enable(struct radeon_device *rdev,
        if (!pin)
                return;
 
-       WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL,
+       WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL,
                        enable ? AUDIO_ENABLED : 0);
 }
 
index fd414d3..6635da9 100644 (file)
 #       define DESCRIPTION16(x)                          (((x) & 0xff) << 0)
 #       define DESCRIPTION17(x)                          (((x) & 0xff) << 8)
 
-#define AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL          0x54
+#define AZ_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL         0x54
 #       define AUDIO_ENABLED                             (1 << 31)
 
 #define AZ_F0_CODEC_PIN_CONTROL_RESPONSE_CONFIGURATION_DEFAULT  0x56